Make the default named configuration more ... sane.
This commit is contained in:
parent
1bdb52515d
commit
09e3c8fe87
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.94 1999/01/16 14:25:47 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.95 1999/01/22 01:41:19 mycroft Exp $
|
||||
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
|
||||
|
||||
# XXX: For NO_SENDMAIL and USE_BIND4
|
||||
@ -41,7 +41,7 @@ BIN2+= motd
|
||||
# -rw-------
|
||||
BIN3+= hosts.equiv
|
||||
|
||||
NAMEDB= localhost.rev root.cache
|
||||
NAMEDB= 127 root.cache
|
||||
.ifdef USE_BIND4
|
||||
NAMEDB+= named.boot
|
||||
.else
|
||||
|
9
etc/namedb/127
Normal file
9
etc/namedb/127
Normal file
@ -0,0 +1,9 @@
|
||||
; $NetBSD: 127,v 1.1 1999/01/22 01:41:19 mycroft Exp $
|
||||
|
||||
@ IN SOA netbsd.org. hostmaster.netbsd.org. (
|
||||
1.4 ; Serial
|
||||
3600 ; Refresh
|
||||
300 ; Retry
|
||||
3600000 ; Expire
|
||||
3600 ) ; Minimum
|
||||
1.0.0 IN PTR localhost.
|
@ -1,11 +0,0 @@
|
||||
; $NetBSD: localhost.rev,v 1.3 1997/02/15 10:02:31 mikel Exp $
|
||||
; from @(#)localhost.rev 8.1 (Berkeley) 6/9/93
|
||||
|
||||
@ IN SOA ucbvax.Berkeley.EDU. rwh.ucbvax.Berkeley.EDU. (
|
||||
1.4 ; Serial
|
||||
3600 ; Refresh
|
||||
300 ; Retry
|
||||
3600000 ; Expire
|
||||
3600 ) ; Minimum
|
||||
IN NS ucbvax.Berkeley.EDU.
|
||||
1 IN PTR localhost.Berkeley.EDU.
|
@ -1,4 +1,4 @@
|
||||
; $NetBSD: named.boot,v 1.4 1998/09/14 05:05:44 marc Exp $
|
||||
; $NetBSD: named.boot,v 1.5 1999/01/22 01:41:19 mycroft Exp $
|
||||
; from @(#)named.boot 8.1 (Berkeley) 6/9/93
|
||||
|
||||
; boot file for secondary name server
|
||||
@ -9,12 +9,12 @@ directory /etc/namedb
|
||||
; type domain source host/file backup file
|
||||
|
||||
cache . root.cache
|
||||
primary 0.0.127.IN-ADDR.ARPA localhost.rev
|
||||
primary 127.IN-ADDR.ARPA 127
|
||||
|
||||
; example secondary server config:
|
||||
; secondary Berkeley.EDU 128.32.130.11 128.32.133.1 ucbhosts.bak
|
||||
; secondary 32.128.IN-ADDR.ARPA 128.32.130.11 128.32.133.1 ucbhosts.rev.bak
|
||||
; secondary Berkeley.EDU 128.32.130.11 128.32.133.1 berkeley.edu.cache
|
||||
; secondary 32.128.IN-ADDR.ARPA 128.32.130.11 128.32.133.1 128.32.bak
|
||||
|
||||
; example primary server config:
|
||||
; primary Berkeley.EDU ucbhosts
|
||||
; primary 32.128.IN-ADDR.ARPA ucbhosts.rev
|
||||
; primary Berkeley.EDU berkeley.edu
|
||||
; primary 32.128.IN-ADDR.ARPA 128.32
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: named.conf,v 1.2 1998/12/15 01:08:43 tron Exp $
|
||||
# $NetBSD: named.conf,v 1.3 1999/01/22 01:41:19 mycroft Exp $
|
||||
|
||||
# boot file for secondary name server
|
||||
# Note that there should be one primary entry for each SOA record.
|
||||
@ -12,16 +12,16 @@ zone "." {
|
||||
file "root.cache";
|
||||
};
|
||||
|
||||
zone "0.0.127.IN-ADDR.ARPA" {
|
||||
zone "127.IN-ADDR.ARPA" {
|
||||
type master;
|
||||
file "localhost.rev";
|
||||
file "127";
|
||||
};
|
||||
|
||||
# example secondary server config:
|
||||
#
|
||||
# zone "Berkeley.EDU" {
|
||||
# type slave;
|
||||
# file "ucbhosts.bak";
|
||||
# file "berkeley.edu.cache";
|
||||
# masters {
|
||||
# 128.32.130.11;
|
||||
# 128.32.133.1;
|
||||
@ -30,7 +30,7 @@ zone "0.0.127.IN-ADDR.ARPA" {
|
||||
|
||||
# zone "32.128.IN-ADDR.ARPA" {
|
||||
# type slave;
|
||||
# file "ucbhosts.rev.bak";
|
||||
# file "128.32.cache";
|
||||
# masters {
|
||||
# 128.32.130.11;
|
||||
# 128.32.133.1;
|
||||
@ -41,10 +41,10 @@ zone "0.0.127.IN-ADDR.ARPA" {
|
||||
#
|
||||
# zone "Berkeley.EDU" {
|
||||
# type master;
|
||||
# file "ucbhosts";
|
||||
# file "berkeley.edu";
|
||||
# };
|
||||
|
||||
# zone "32.128.IN-ADDR.ARPA" {
|
||||
# type master;
|
||||
# file "ucbhosts.rev";
|
||||
# file "128.32";
|
||||
# };
|
||||
|
Loading…
Reference in New Issue
Block a user