From: Martin Mares Date: Fri, 10 Sep 1999 20:09:58 +0000 (+0000) Subject: Correct localhost domain. X-Git-Tag: v4.0~71 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=ddf561b767c072daf73ac29649aac1ae92f820d1;p=nsc-5.git Correct localhost domain. --- diff --git a/cf.ucw/domains b/cf.ucw/domains index a975f4b..b9bf096 100644 --- a/cf.ucw/domains +++ b/cf.ucw/domains @@ -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) diff --git a/cf.ucw/localhost b/cf.ucw/localhost index 57f95a3..4cbc306 100644 --- a/cf.ucw/localhost +++ b/cf.ucw/localhost @@ -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