1 // This is the primary configuration file for the BIND DNS server named.
4 // named-checkconf named.conf && named-checkzone 0.2.10.in-addr db.0.2.10.in-addr.arpa && scp named.conf db.0.2.10.in-addr.arpa 10.2.0.1:/etc/bind; ssh 10.2.0.1 /etc/init.d/named restart
9 listen-on { localnets; localhost; };
10 listen-on-v6 { localnets; localhost; };
13 // If your ISP provided one or more IP addresses for stable
14 // nameservers, you probably want to use them as forwarders.
15 // Uncomment the following block, and insert the addresses replacing
16 // the all-0's placeholder.
19 auth-nxdomain no; # conform to RFC1035
22 #acl trusted { 10.2.0.7; 10.2.0.3; 10.2.0.2; };
23 acl "trusted" { 10.2.0.7; };
25 match-clients { "trusted"; };
29 2606:4700:4700::1111 ;
30 2606:4700:4700::1001 ;
34 // prime the server with knowledge of the root servers
37 file "/etc/bind/db.root";
40 // be authoritative for the localhost forward and reverse zones, and for
41 // broadcast zones as per RFC 1912
45 file "/etc/bind/db.local";
48 zone "127.in-addr.arpa" {
50 file "/etc/bind/db.127";
53 zone "0.in-addr.arpa" {
55 file "/etc/bind/db.0";
58 zone "255.in-addr.arpa" {
60 file "/etc/bind/db.255";
63 zone "0.2.10.in-addr.arpa" {
65 file "/etc/bind/db.0.2.10.in-addr.arpa";
70 acl "guest" { localnets; localhost; };
72 match-clients { "guest"; };
77 2606:4700:4700::1113 ;
78 2606:4700:4700::1003 ;
81 // prime the server with knowledge of the root servers
84 file "/etc/bind/db.root";
87 // be authoritative for the localhost forward and reverse zones, and for
88 // broadcast zones as per RFC 1912
92 file "/etc/bind/db.local";
95 zone "127.in-addr.arpa" {
97 file "/etc/bind/db.127";
100 zone "0.in-addr.arpa" {
102 file "/etc/bind/db.0";
105 zone "255.in-addr.arpa" {
107 file "/etc/bind/db.255";
110 zone "0.2.10.in-addr.arpa" {
112 file "/etc/bind/db.0.2.10.in-addr.arpa";