]> mj.ucw.cz Git - nsc-5.git/commitdiff
Correct localhost domain.
authorMartin Mares <mj@ucw.cz>
Fri, 10 Sep 1999 20:09:58 +0000 (20:09 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 10 Sep 1999 20:09:58 +0000 (20:09 +0000)
cf.ucw/domains
cf.ucw/localhost

index a975f4b4590d237676ec39f1a166a5b5b98bf1a7..b9bf0960a92d1d41c9fce7ba052cb5f1d32162a8 100644 (file)
@@ -2,12 +2,14 @@
 
 OPTIONS()
 
-PRIMARY(ucw.cz)
-
-SECONDARY(sinus.cz, 194.213.33.1)
-
+# Various mandatory things
+PRIMARY(localhost)
 REVERSE(0, localhost)
 REVERSE(255, localhost)
 REVERSE(127.0.0, localhost)
 
+PRIMARY(ucw.cz)
+
+SECONDARY(sinus.cz, 194.213.32.2)
+
 REVERSE(62.168.0, ucw.cz)
index 57f95a37f3a80cad6777e61f9842b6ff971c104d..4cbc3061693d835ef558faafb477fe8cf586bb8e 100644 (file)
@@ -1,5 +1,11 @@
-; Special pseudo-domain for localhost
+; From this domain file we generate all the mandatory records specified
+; in RFC 1912, section 4.1:
+;      1)  Localhost zone containing `localhost A 127.0.0.1'
+;      2)  0.0.127.in-addr.arpa with `1.0 PTR localhost.'
+;      3)  empty 255.in-addr.arpa
+;      4)  empty 0.in-addr.arpa
 
-SOA()
+SOA(localhost)
 NS(nsname)
-H(localhost,127.0.0.1)
+RH(localhost.,127.0.0.1)
+localhost.     A       127.0.0.1