rtfd/in/public/network/unbound/index.rst

40 lines
780 B
ReStructuredText
Raw Normal View History

2018-05-12 23:40:58 +00:00
Unbound
=======
2018-06-28 18:23:50 +00:00
2018-06-28 19:17:54 +00:00
* /etc/unbound/unbound.conf
2018-06-28 18:23:50 +00:00
::
2018-06-30 17:20:09 +00:00
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.1.2.3
forward-addr: 9.4.5.6
forward-addr: 9.7.8.9
include: "/etc/unbound/unbound.conf.d/*.conf"
2018-06-28 19:35:52 +00:00
* /etc/unbound/unbound.conf.d/redirect.conf
::
2018-06-30 17:20:09 +00:00
local-zone: "doubleclick.net" redirect
local-data: "doubleclick.net A 127.0.0.1"
2018-06-28 19:35:52 +00:00
* /etc/unbound/unbound.conf.d/static.conf
::
2018-06-28 19:17:54 +00:00
2018-06-30 17:20:09 +00:00
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"