diff --git a/named.conf.default-zones.ubuntu b/named.conf.default-zones.ubuntu new file mode 100644 index 0000000..881924f --- /dev/null +++ b/named.conf.default-zones.ubuntu @@ -0,0 +1,30 @@ +// prime the server with knowledge of the root servers +//zone "." { +// type hint; +// file "/etc/bind/db.root"; +//}; + +// be authoritative for the localhost forward and reverse zones, and for +// broadcast zones as per RFC 1912 + +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"; +}; + + diff --git a/named.conf.options b/named.conf.options index d6d8229..d8f0055 100644 --- a/named.conf.options +++ b/named.conf.options @@ -11,8 +11,8 @@ options { // the all-0's placeholder. forwarders { - 172.98.193.42; - 198.206.14.241; + // 172.98.193.42; + // 198.206.14.241; }; allow-recursion { any; }; allow-query { any; }; diff --git a/named.conf.ubuntu b/named.conf.ubuntu new file mode 100644 index 0000000..c4f910c --- /dev/null +++ b/named.conf.ubuntu @@ -0,0 +1,12 @@ +// This is the primary configuration file for the BIND DNS server named. +// +// Please read /usr/share/doc/bind9/README.Debian.gz for information on the +// structure of BIND configuration files in Debian, *BEFORE* you customize +// this configuration file. +// +// If you are just adding zones, please do that in /etc/bind/named.conf.local + +include "/etc/bind/named.conf.options"; +include "/etc/bind/named.conf.local"; +include "/etc/bind/named.conf.default-zones"; +include "/etc/bind/named.conf.opennic";