findns error (NXDOMAIN) help

Terrence Koeman root at mediamonks.net
Sat Sep 8 01:17:36 UTC 2001


Hello,

Your nameserver is mewnet.com. (IN      NS mewnet.com.), but you don't have
an A record for mewnet.com (@ A 0.0.0.0).

I assuming here that you want your nameserver to be 'ns.mewnet.com'.

OK, you have this:

ns              IN  CNAME mewnet.com.
www             IN  CNAME mewnet.com.
kenwww          IN  CNAME mewnet.com.
mail            IN  CNAME mewnet.com.

All are CNAMES of 'mewnet.com', which has no address!

And the next problem is that mailexchangers (MX) and nameserver (NS) cannot,
and must not, be CNAMEs...

I'd do it this way:
----------------
@       IN      SOA     ns.mewnet.com. mew.mewnet.com. (
                        2001090703      ; serial
                        8H              ; refresh seconds
                        2H              ; retry seconds
                        1W              ; expire
                        1D )            ; min seconds
;
@               IN      NS ns.mewnet.com.       ; name server
@               MX      10 mail.mewnet.com.     ; mail server
;
@               A     ip.address.of.mewnet.com
ns              A     ip.address.of.nameserver ; probably the same as
mewnet.com
mail            A     ip.address.of.mailserver ; probably the same as
mewnet.com

localhost       A     127.0.0.1
ml2             A     66.92.144.198
warp1           A     66.92.144.199
ml1             A     66.92.144.197
;
www             IN  CNAME mewnet.com.
kenwww          IN  CNAME mewnet.com.
;
----------------

Your reverse zone seems correct.


Regards,

Terrence Koeman

-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of mew
Sent: Saturday, September 08, 2001 02:52
To: bind-users at isc.org
Subject: findns error (NXDOMAIN) help



Hi, I've looked through the archive and doc's and tried various combinations
but seem to be making it worse. Can someone please tell me where I'm going
wrong? Originally I was getting a NXDOMAIN error now I'm also getting a
CNAME errors as well.
Thanks in advance for the help.

Log entries after startup:
Sep  7 20:48:25 ns named[26977]: "0.0.127.in-addr.arpa IN NS" points to a
CNAME (ns.mewnet.com)
Sep  7 20:48:40 ns named[26977]: "mewnet.com IN MX" points to a CNAME
(mail.mewnet.com)
Sep  7 20:48:44 ns named[26977]: sysquery: findns error (NXDOMAIN) on
ns.mewnet.com?

Domain name: mewnet.com
Machine named is running ml1.mewnet.com 66.92.144.197

The zone file that I can't seem to get right:
@       IN      SOA     mewnet.com. mew.mewnet.com. (
                        2001090703      ; serial
                        8H              ; refresh seconds
                        2H              ; retry seconds
                        1W              ; expire
                        1D )            ; min seconds
;
                IN      NS mewnet.com.          ; name server
                MX      10 mail.mewnet.com.     ; mail server
;
ns              IN  CNAME mewnet.com.
www             IN  CNAME mewnet.com.
kenwww          IN  CNAME mewnet.com.
mail            IN  CNAME mewnet.com.
;
localhost       A       127.00.1
ml2             A        66.92.144.198
warp1           A        66.92.144.199
ml1             A        66.92.144.197
;

Reverse zone:
197.144.92.66.in-addr.arpa. IN SOA      ns.mewnet.com. mew.mewnet.com. (
                        20010718001     ; serial
                        8H              ; refresh seconds
                        2H              ; retry seconds
                        1W              ; expire
                        1D )            ; min seconds
;
197.144.92.66.in-addr.arpa. IN NS ns.mewnet.com.
;
197.144.92.66.in-addr.arpa. IN PTR ml1.mewnet.com.






More information about the bind-users mailing list