Last active
August 6, 2017 17:33
-
-
Save adhawkins/0d03ebd48a44940c613907d9040b4a00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@xcp-gateway:~# named-checkconf -px | |
options { | |
directory "/var/cache/bind"; | |
listen-on-v6 { | |
"any"; | |
}; | |
version none; | |
allow-query-cache { | |
"internals"; | |
}; | |
allow-recursion { | |
"internals"; | |
}; | |
auth-nxdomain no; | |
dnssec-validation auto; | |
recursion yes; | |
allow-query { | |
"internals"; | |
}; | |
forwarders { | |
8.8.8.8; | |
}; | |
}; | |
acl "internals" { | |
127.0.0.0/8; | |
192.168.202.0/24; | |
::1/128; | |
}; | |
logging { | |
channel "query-chan" { | |
file "/var/log/bind/query.log" versions 5 size 512000; | |
severity debug 3; | |
print-time yes; | |
}; | |
category "resolver" { | |
"query-chan"; | |
}; | |
}; | |
zone "gently.org.uk" { | |
type master; | |
file "/etc/bind/db.gently"; | |
notify no; | |
}; | |
zone "202.168.192.in-addr.arpa" { | |
type master; | |
file "/etc/bind/db.202.168.192"; | |
notify no; | |
}; | |
zone "." { | |
type hint; | |
file "/etc/bind/db.root"; | |
}; | |
zone "localhost" { | |
type master; | |
file "/etc/bind/db.local"; | |
}; | |
zone "127.in-addr.arpa" { | |
type master; | |
file "/etc/bind/db.127"; | |
}; | |
zone "0.in-addr.arpa" { | |
type master; | |
file "/etc/bind/db.0"; | |
}; | |
zone "255.in-addr.arpa" { | |
type master; | |
file "/etc/bind/db.255"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment