indent,interface
This commit is contained in:
parent
457cbd2150
commit
a1127319ed
1 changed files with 23 additions and 19 deletions
|
@ -6,34 +6,38 @@ Unbound
|
|||
::
|
||||
|
||||
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
|
||||
access-control: 192.168.0.0/16 allow
|
||||
do-ip4: yes
|
||||
do-ip6: yes
|
||||
do-tcp: yes
|
||||
do-udp: yes
|
||||
interface: 0.0.0.0
|
||||
interface: ::0
|
||||
rrset-roundrobin: yes
|
||||
|
||||
include: "/etc/unbound/unbound.conf.d/*.conf"
|
||||
|
||||
forward-zone:
|
||||
name: "."
|
||||
forward-addr: 9.1.2.3
|
||||
forward-addr: 9.4.5.6
|
||||
forward-addr: 9.7.8.9
|
||||
|
||||
* /etc/unbound/unbound.conf.d/redirect.conf
|
||||
|
||||
::
|
||||
|
||||
local-zone: "doubleclick.net" redirect
|
||||
local-data: "doubleclick.net A 127.0.0.1"
|
||||
server:
|
||||
local-zone: "doubleclick.net" redirect
|
||||
local-data: "doubleclick.net A 127.0.0.1"
|
||||
|
||||
* /etc/unbound/unbound.conf.d/static.conf
|
||||
|
||||
::
|
||||
|
||||
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"
|
||||
server:
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue