Browse Source

do not taint ::/124 for IPv6 localhost table.

avoid lookups to localhost.berkeley.edu.
OPENBSD_3_1
itojun 23 years ago
parent
commit
ad7c7464f0
4 changed files with 25 additions and 2 deletions
  1. +1
    -1
      src/etc/namedb/localhost.rev
  2. +10
    -0
      src/etc/namedb/localhost.v6.rev
  3. +12
    -0
      src/etc/namedb/localhost.zone
  4. +2
    -1
      src/etc/namedb/named.boot

+ 1
- 1
src/etc/namedb/localhost.rev View File

@ -7,4 +7,4 @@
3600000 ; Expire
3600 ) ; Minimum
IN NS ucbvax.Berkeley.EDU.
1 IN PTR localhost.Berkeley.EDU.
1 IN PTR localhost.

+ 10
- 0
src/etc/namedb/localhost.v6.rev View File

@ -0,0 +1,10 @@
; @(#)localhost.rev 5.1 (Berkeley) 6/30/90
@ IN SOA ucbvax.Berkeley.EDU. rwh.ucbvax.Berkeley.EDU. (
14 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ucbvax.Berkeley.EDU.
IN PTR localhost.

+ 12
- 0
src/etc/namedb/localhost.zone View File

@ -0,0 +1,12 @@
; @(#)localhost.rev 5.1 (Berkeley) 6/30/90
@ IN SOA ucbvax.Berkeley.EDU. rwh.ucbvax.Berkeley.EDU. (
14 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ucbvax.Berkeley.EDU.
localhost. IN NS localhost.
IN A 127.0.0.1
IN AAAA ::1

+ 2
- 1
src/etc/namedb/named.boot View File

@ -12,7 +12,8 @@ directory /namedb
cache . root.cache
primary 0.0.127.IN-ADDR.ARPA localhost.rev
primary 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int localhost.rev
primary 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int localhost.v6.rev
primary localhost localhost.zone
; example secondary server config:
; secondary Berkeley.EDU 128.32.130.11 128.32.133.1 ucbhosts.bak


Loading…
Cancel
Save