could not fine NS and/or SOA records ... but not in all my files

Mark_Andrews at isc.org Mark_Andrews at isc.org
Sun Nov 3 03:09:18 UTC 2002


> 
> Hi all, very newbie to bind, only my second day working on this,
> i have been working with the web and dns and bind 3rd edition.
> I am just trying to learn bind at home so my setup is simple and
> security is an afterthought at this point.  The goal is to have
> dhcp ddns named.
> Currently I can resolve all exteranal address, but no internal
> addresses.  I ran named-checkzone on my some of my files and got
> the above mentioned error, i first noticed it looking at the logs.
> I fixed the problem with one of my files (db.closet6 - below)
> and it passes but my other 2 files fail.
> I am running redhat linux 8, bind version 9.2.1.  I tried
> comparing the files and i don't see anything different as far 
> as structure.
> I looked on the web for the error and found other people
> where having them, but I didn't get any solutions that worked.
> I also tried finding a phantom pdf that was supposed to 
> be out there with no luck.
> Any help would be great, thanks in advance.
> joe
> 
> ************files***************
> 
> ;begin of file /var/named/db.closet6
> $TTL 43200
> closet6.com.  IN SOA higgins.closet6.com. josephg.beer.com. (
>                                 2002110202      ; Serial
>                                 300             ; Refresh - 5 Minutes
>                                 60              ; Retry - 1 minute
>                                 1209600         ; Expire - 2 Weeks
>                                 43200)          ; Minimum - 12 Hours
> closet6.com.                    IN      NS      higgins.closet6.com.
> localhost.closet6.com.          IN      A       127.0.0.1
> higgins.closet6.com             IN      A       192.168.1.2
> magnum.closet6.com.             IN      A       192.168.1.2
> 
> ;EOF
> 
> ********************************
> ;begin db.192.168.1
> $TTL 43200
> 
> 1.168.192.in-addr.arpa.  IN SOA higgins.closet6.com. josephg.beer.com. (
>                                 2002110201      ; Serial
>                                 300             ; Refresh - 5 Minutes
>                                 60              ; Retry - 1 minute
>                                 1209600         ; Expire - 2 Weeks
>                                 43200)          ; Minimum - 12 Hours
> 
> 1.168.192.in-addr.arpa.		IN	NS	higgins.closet6.com.
> 
> 2.1.168.192.in-addr.arpa	IN	PTR	higgins.closet6.com.
> 1.1.168.192.in-addr.arpa	IN	PTR	magnum.closet6.com.
> ;EOF
> 
> ********************************
> ;begin db.127.0.0
> $TTL 43200
> 0.0.127.in-addr.arpa.  IN SOA higgins.closet6.com. josephg.beer.com. (
>                                 2002110201      ; Serial
>                                 300             ; Refresh - 5 Minutes
>                                 60              ; Retry - 1 minute
>                                 1209600         ; Expire - 2 Weeks
>                                 43200)          ; Minimum - 12 Hours
> 
> 0.0.127.in-addr.arpa.		IN	NS	higgins.closet6.com.
> 
> 1.0.0.127.in-addr.arpa.		IN	PTR	localhost.
> 
> ;EOF
> 
> 
> **************named.conf********
> 
> options {
> 	directory "/var/named";
> };
> 
> zone "." {
>         type hint;
>         file "root.cache";
> };
> 
> zone "closet6.com" {
>         type master;
>         file "db.closet6"; 
>         allow-update { 192.168.1/24; };
> 	allow-query  { any; };
> 	                /*  This file is in /var/named you must
>                          *      create it or the zone will not be loaded 
>                          */ 
> };
> 
> zone "1.168.192.in-addr.arpa" { 
>         type master;             
>         file "db.192.168.1";
> 	allow-update { 192.168.1/24; };
>         allow-query  { any; }; 
>                         /* This is an example entry for a generic
>                          * subnet, it's syntax will be the same as
>                          * the localhost.db as they serve similar
>                          * functions
>                          */
> };
> 
> zone "0.0.127.in-addr.arpa" {
>         type master;
>         file "db.127.0.0";     
>                         /* This file is the reverse file for your
>                          * local network, it is essential that this
>                          * is in place or dns may be flakey.
>                          */
> };
> 
> ************ERRORS******************
> 
> dns_master_load: db.192.168.1:4: ignoring out-of-zone data 
> (1.168.192.in-addr.arpa)
> dns_master_load: db.192.168.1:11: ignoring out-of-zone data 
> (1.168.192.in-addr.arpa)
> zone 192.168.1.in-addr.arpa/IN: could not find NS and/or SOA records
> zone 192.168.1.in-addr.arpa/IN: has 0 SOA records
> zone 192.168.1.in-addr.arpa/IN: has no NS records
> dns_master_load: db.127.0.0:3: ignoring out-of-zone data 
> (0.0.127.in-addr.arpa)
> dns_master_load: db.127.0.0:10: ignoring out-of-zone data 
> (0.0.127.in-addr.arpa)
> dns_master_load: db.127.0.0:12: ignoring out-of-zone data 
> (1.0.0.127.in-addr.arpa)
> zone 127.0.0.in-addr.arpa/IN: could not find NS and/or SOA records
> zone 127.0.0.in-addr.arpa/IN: has 0 SOA records
> zone 127.0.0.in-addr.arpa/IN: has no NS records
> 
> **********SUCCESS*******************
> zone closet6.com/IN: loaded serial 2002110202
> OK
> 
> 

	Well it would help it named.conf actually matched what you are
	running.

	127.0.0.in-addr.arpa != 0.0.127.in-addr.arpa

	192.168.1.in-addr.arpa != 1.168.192.in-addr.arpa

	Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list