add zone file for "localhost.". this is included in examples in BIND8,
and is a good thing to have (no outside DNS server will supply this).
This commit is contained in:
parent
8b8597dae0
commit
dffc281396
@ -1,4 +1,4 @@
|
||||
# $NetBSD: mi,v 1.47 2000/04/15 22:02:15 tsarna Exp $
|
||||
# $NetBSD: mi,v 1.48 2000/04/26 01:33:27 itojun Exp $
|
||||
./.cshrc
|
||||
./.profile
|
||||
./dev/MAKEDEV.local
|
||||
@ -38,6 +38,7 @@
|
||||
./etc/mtree/NetBSD.dist
|
||||
./etc/mtree/special
|
||||
./etc/namedb/127
|
||||
./etc/namedb/localhost
|
||||
./etc/namedb/loopback.v6
|
||||
./etc/namedb/named.conf
|
||||
./etc/namedb/root.cache
|
||||
|
11
etc/namedb/localhost
Normal file
11
etc/namedb/localhost
Normal file
@ -0,0 +1,11 @@
|
||||
; $NetBSD: localhost,v 1.1 2000/04/26 01:33:27 itojun Exp $
|
||||
|
||||
@ IN SOA netbsd.org. hostmaster.netbsd.org. (
|
||||
1999012100 ; Serial
|
||||
3600 ; Refresh
|
||||
300 ; Retry
|
||||
3600000 ; Expire
|
||||
3600 ) ; Minimum
|
||||
IN NS localhost.
|
||||
localhost. IN A 127.0.0.1
|
||||
IN AAAA ::1
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: named.conf,v 1.5 2000/03/01 11:06:29 itojun Exp $
|
||||
# $NetBSD: named.conf,v 1.6 2000/04/26 01:33:27 itojun Exp $
|
||||
|
||||
# boot file for secondary name server
|
||||
# Note that there should be one primary entry for each SOA record.
|
||||
@ -12,6 +12,11 @@ zone "." {
|
||||
file "root.cache";
|
||||
};
|
||||
|
||||
zone "localhost" {
|
||||
type master;
|
||||
file "localhost";
|
||||
};
|
||||
|
||||
zone "127.IN-ADDR.ARPA" {
|
||||
type master;
|
||||
file "127";
|
||||
|
Loading…
Reference in New Issue
Block a user