Unable to Load the Zone file

Mark Andrews marka at isc.org
Tue Sep 27 07:43:58 UTC 2016


Remove the "$ORIGIN ." line.  The zone statement sets the
initial $ORIGIN.

Nameserver records take NAMES not IP addresses.  Give the
machines names. Then add address records for those names.
Then use those names in the NS records.

Mark

In message <PN1PR01MB0270F39A1D95A4F7940530B981CC0 at PN1PR01MB0270.INDPRD01.PROD.OUTLOOK.COM>, Harshith Mulky writes:
> I have created this in the /etc/named.conf
> 
> 
> zone "enum.bhnis.net" IN {
>         type master;
>         file "enum.bhnis.net";
> };
> 
> 
> 
> And the file looks like this
> 
> 
> $ORIGIN .
> $TTL 3600       ; 1 hour
> @       IN SOA  atlanta.enum.bhnis.net. root.enum.bhnis.net. (
>                                 2008927043 ; serial
>                                 900        ; refresh (15 minutes)
>                                 600        ; retry (10 minutes)
>                                 2419200    ; expire (4 weeks)
>                                 900        ; minimum (15 minutes)
>                                 )
> ; Name Server (NS) records
> enum.bhnis.net.              IN  NS atlanta.enum.bhnis.net.
>                                  NS    72.31.4.5.
>                                  NS    72.31.4.36.
> ; A records
> atlanta.enum.bhnis.net.      IN  A   10.54.78.28
> 
> $ORIGIN +.enum.bhnis.net.
> $TTL 300        ; 5 minutes
> 0.9.4.6.4.6.9.3.1.8.1   NAPTR   10 10 "u" "sip+E2U" "!^.*$!sip:+18139646490=
> @65.32.11.202:5080!" .
> 2.6.9.5.0.6.9.7.0.4     NAPTR   10 10 "u" "sip+E2U" "!^.*$!sip:+4079605962@=
> 67.78.171.98!" .
> 
> 
> 
> getting these errors when starting named service
> 
> 
> enum.bhnis.net:3: ignoring out-of-zone data (.)
> enum.bhnis.net:12: NS record '72.31.4.5.' appears to be an address
> enum.bhnis.net:13: NS record '72.31.4.36.' appears to be an address
> zone enum.bhnis.net/IN: has 0 SOA records
> zone enum.bhnis.net/IN: not loaded due to errors.
> _default/enum.bhnis.net/IN: bad zone
>                                                            [FAILED]
> 
> 
> 
> What is the problem here?
> 
> --_000_PN1PR01MB0270F39A1D95A4F7940530B981CC0PN1PR01MB0270INDP_
> Content-Type: text/html; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <html>
> <head>
> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
> 1">
> <style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
> n-bottom:0;} --></style>
> </head>
> <body dir=3D"ltr">
> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
> -family:Calibri,Arial,Helvetica,sans-serif;">
> <p>I have created this in the /etc/named.conf</p>
> <p><br>
> </p>
> <p></p>
> <div>zone "enum.bhnis.net" IN {<br>
>         type master;<br>
>         file "enum.bhnis.net";=
> <br>
> };<br>
> </div>
> <p></p>
> <p><br>
> </p>
> <p><br>
> </p>
> <p>And the file looks like this</p>
> <p><br>
> </p>
> <p></p>
> <div>$ORIGIN .<br>
> $TTL 3600       ; 1 hour<br>
> @       IN SOA  atlanta.enum.bhnis.net. =
> root.enum.bhnis.net. (<br>
>             &nb=
> sp;            =
>        2008927043 ; serial<br>
>             &nb=
> sp;            =
>        900     &nbsp=
> ;  ; refresh (15 minutes)<br>
>             &nb=
> sp;            =
>        600     &nbsp=
> ;  ; retry (10 minutes)<br>
>             &nb=
> sp;            =
>        2419200    ; expire (4 =
> weeks)<br>
>             &nb=
> sp;            =
>        900     &nbsp=
> ;  ; minimum (15 minutes)<br>
>             &nb=
> sp;            =
>        )<br>
> ; Name Server (NS) records<br>
> enum.bhnis.net.          =
>     IN  NS atlanta.enum.bhnis.net.<br>
>                =
>             &nb=
> sp;     NS    72.31.4.5.<br>
>                =
>             &nb=
> sp;     NS    72.31.4.36.<br>
> ; A records<br>
> atlanta.enum.bhnis.net.      IN  A &nbsp=
> ; 10.54.78.28<br>
> <br>
> $ORIGIN +.enum.bhnis.net.<br>
> $TTL 300        ; 5 minutes<br>
> 0.9.4.6.4.6.9.3.1.8.1   NAPTR   10 10 "u" &qu=
> ot;sip+E2U" "!^.*$!sip:+18139646490 at 65.32.11.202:5080!&qu=
> ot; .<br>
> 2.6.9.5.0.6.9.7.0.4     NAPTR   10 10 "u=
> " "sip+E2U" "!^.*$!sip:+4079605962 at 67.78.171.98=
> !" .</div>
> <p></p>
> <p><br>
> </p>
> <p><br>
> </p>
> <p>getting these errors when starting named service</p>
> <p><br>
> </p>
> <p></p>
> <div>enum.bhnis.net:3: ignoring out-of-zone data (.)<br>
> enum.bhnis.net:12: NS record '72.31.4.5.' appears to be an address<br>
> enum.bhnis.net:13: NS record '72.31.4.36.' appears to be an address<br>
> zone enum.bhnis.net/IN: has 0 SOA records<br>
> zone enum.bhnis.net/IN: not loaded due to errors.<br>
> _default/enum.bhnis.net/IN: bad zone<br>
>             &nb=
> sp;            =
>             &nb=
> sp;            =
>          [FAILED]</div>
> <p></p>
> <p><br>
> </p>
> <p><br>
> </p>
> <p>What is the problem here?<br>
> </p>
> </div>
> </body>
> </html>
> 
> --_000_PN1PR01MB0270F39A1D95A4F7940530B981CC0PN1PR01MB0270INDP_--
> 
> --===============7572195843602053170==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> --===============7572195843602053170==--
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list