Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src add zone file for "localhost.". this is included in example...



details:   https://anonhg.NetBSD.org/src/rev/49e53ea326ac
branches:  trunk
changeset: 485357:49e53ea326ac
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Apr 26 01:33:27 2000 +0000

description:
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).

diffstat:

 distrib/sets/lists/etc/mi |   3 ++-
 etc/namedb/localhost      |  11 +++++++++++
 etc/namedb/named.conf     |   7 ++++++-
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r 5d1ff1cd757e -r 49e53ea326ac distrib/sets/lists/etc/mi
--- a/distrib/sets/lists/etc/mi Wed Apr 26 00:00:41 2000 +0000
+++ b/distrib/sets/lists/etc/mi Wed Apr 26 01:33:27 2000 +0000
@@ -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
diff -r 5d1ff1cd757e -r 49e53ea326ac etc/namedb/localhost
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/namedb/localhost      Wed Apr 26 01:33:27 2000 +0000
@@ -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
diff -r 5d1ff1cd757e -r 49e53ea326ac etc/namedb/named.conf
--- a/etc/namedb/named.conf     Wed Apr 26 00:00:41 2000 +0000
+++ b/etc/namedb/named.conf     Wed Apr 26 01:33:27 2000 +0000
@@ -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 @@
        file "root.cache";
 };
 
+zone "localhost" {
+       type master;
+       file "localhost";
+};
+
 zone "127.IN-ADDR.ARPA" {
        type master;
        file "127";



Home | Main Index | Thread Index | Old Index