diff options
Diffstat (limited to 'net-dns/bind/files/named.conf-r1')
-rw-r--r-- | net-dns/bind/files/named.conf-r1 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-dns/bind/files/named.conf-r1 b/net-dns/bind/files/named.conf-r1 new file mode 100644 index 000000000000..9b7b2a91fdc6 --- /dev/null +++ b/net-dns/bind/files/named.conf-r1 @@ -0,0 +1,42 @@ +options { + directory "/var/bind"; + + // uncomment the following lines to turn on DNS forwarding, + // and change the forwarind ip address(es) : + //forward first; + //forwarders { + // 123.123.123.123 + // 123,123.123.123; + //}; + + listen-on-v6 { none; }; + listen-on { 127.0.0.1; }; + + // to allow only specific hosts to use the DNS server: + //allow-query { + // 127.0.0.1; + //}; + + // if you have problems and are behind a firewall: + //query-source address * port 53; + pid-file "/var/run/named/named.pid"; +}; + +zone "." IN { + type hint; + file "named.ca"; +}; + +zone "localhost" IN { + type master; + file "pri/localhost"; + allow-update { none; }; + notify no; +}; + +zone "127.in-addr.arpa" IN { + type master; + file "pri/127"; + allow-update { none; }; + notify no; +}; |