From dc6f2e0265c6d5b1c12dbe5c0996343f2452a0ac Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 28 Jun 2018 21:17:54 +0200 Subject: [PATCH] unbound/further --- in/public/network/unbound/index.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/in/public/network/unbound/index.rst b/in/public/network/unbound/index.rst index 249f4d3..d970c53 100644 --- a/in/public/network/unbound/index.rst +++ b/in/public/network/unbound/index.rst @@ -1,9 +1,33 @@ Unbound ======= +* /etc/unbound/unbound.conf + + :: + + include: "/etc/unbound/unbound.conf.d/*.conf" + * /etc/unbound/unbound.conf.d/*.conf :: server: + access-control: 192.168.0.0/16 allow + do-ip4: yes + do-ip6: yes + do-tcp: yes + do-udp: yes + rrset-roundrobin: yes + + forward-zone: + name: "." + forward-addr: 9.9.9.9 + + local-zone: "sub.domain.tld" static local-data: "sub.domain.tld 3600 IN A 1.2.3.4" + local-data: "sub.domain.tld 3600 IN A 5.6.7.8" + local-data-ptr: "1.2.3.4 sub.domain.tld" + local-data-ptr: "5.6.7.8 sub.domain.tld" + + local-zone: "doubleclick.net" redirect + local-data: "doubleclick.net A 127.0.0.1"