diff options
author | 2003-02-15 05:43:14 +0000 | |
---|---|---|
committer | 2003-02-15 05:43:14 +0000 | |
commit | 07a5711031be5897ac2a2a2df5b9d1e3cb217bd0 (patch) | |
tree | 61cf71cc59a745581127f1e623a288bbf57995a5 /net-dns/bind/files | |
parent | spurious dot (diff) | |
download | gentoo-2-07a5711031be5897ac2a2a2df5b9d1e3cb217bd0.tar.gz gentoo-2-07a5711031be5897ac2a2a2df5b9d1e3cb217bd0.tar.bz2 gentoo-2-07a5711031be5897ac2a2a2df5b9d1e3cb217bd0.zip |
version bump for a more robust localhost config
Diffstat (limited to 'net-dns/bind/files')
-rw-r--r-- | net-dns/bind/files/127 | 11 | ||||
-rw-r--r-- | net-dns/bind/files/127.0.0 | 4 | ||||
-rw-r--r-- | net-dns/bind/files/digest-bind-9.2.2_rc1-r2 | 1 | ||||
-rw-r--r-- | net-dns/bind/files/named.conf | 2 | ||||
-rw-r--r-- | net-dns/bind/files/named.conf-r1 | 42 |
5 files changed, 57 insertions, 3 deletions
diff --git a/net-dns/bind/files/127 b/net-dns/bind/files/127 new file mode 100644 index 000000000000..eeb2af97c524 --- /dev/null +++ b/net-dns/bind/files/127 @@ -0,0 +1,11 @@ +$ORIGIN 127.in-addr.arpa. +$TTL 1W +@ 1D IN SOA localhost. root.localhost. ( + 2002081601 ; serial + 3H ; refresh + 15M ; retry + 1W ; expiry + 1D ) ; minimum + + 1D IN NS localhost. +* 1D IN PTR localhost. diff --git a/net-dns/bind/files/127.0.0 b/net-dns/bind/files/127.0.0 index eeb2af97c524..8c37965ae775 100644 --- a/net-dns/bind/files/127.0.0 +++ b/net-dns/bind/files/127.0.0 @@ -1,4 +1,4 @@ -$ORIGIN 127.in-addr.arpa. +$ORIGIN 127.0.0.in-addr.arpa. $TTL 1W @ 1D IN SOA localhost. root.localhost. ( 2002081601 ; serial @@ -8,4 +8,4 @@ $TTL 1W 1D ) ; minimum 1D IN NS localhost. -* 1D IN PTR localhost. +1 1D IN PTR localhost. diff --git a/net-dns/bind/files/digest-bind-9.2.2_rc1-r2 b/net-dns/bind/files/digest-bind-9.2.2_rc1-r2 new file mode 100644 index 000000000000..f599f5e0e918 --- /dev/null +++ b/net-dns/bind/files/digest-bind-9.2.2_rc1-r2 @@ -0,0 +1 @@ +MD5 e591be8890c53845133577ac7e042fb6 bind-9.2.2rc1.tar.gz 5049320 diff --git a/net-dns/bind/files/named.conf b/net-dns/bind/files/named.conf index bb4f63809532..eda1564a4c11 100644 --- a/net-dns/bind/files/named.conf +++ b/net-dns/bind/files/named.conf @@ -34,7 +34,7 @@ zone "localhost" IN { notify no; }; -zone "127.in-addr.arpa" IN { +zone "127.0.0.in-addr.arpa" IN { type master; file "pri/127.0.0"; allow-update { none; }; 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; +}; |