cname?

Danny Mayer mayer at gis.net
Sun Jun 23 22:12:48 UTC 2002


There is at least one bug here.

The error message is coming from the notify code, specifically
sysnotify_ns().  From the look of it, rip is trying to notify itself.
That's a bug, as it shouldn't try and notify itself. sysnotify_slaves()
should be skipping ns with its own name in it.

The particular reason that you see this is that rip.psg.com is not the
same as the mname listed in the SOA and tries to notify all other
nameservers listed in the zone.  I assume that you set up rip's
named.conf file to say that it's the master of the eg. domain.

I don't know why the nlookup that the code does on the NS name
results in it getting a CNAME result.  Mark may be able to say more.
Do you have any CNAME's in the zone?

Danny
At 01:33 AM 6/23/02, Randy Bush wrote:
>there are 20k zones here, which one?  psg.com zone is clean.
>
>     % named-checkzone psg.com /var/dns/primary/com.psg
>     zone psg.com/IN: loaded serial 200205273
>     OK
>
>dumped the database and
>
>     % egrep -i 'cname.*rip\.psg\.com' named_dump.db
>     % egrep -i 'rip\.psg\.com.*cname' named_dump.db
>     %
>
>next?
>
> > Run the named-checkzone from the BIND 9.2.1 tarball against your
> > zone and see what it tells you.
> >
> >          Danny
> > At 12:52 AM 6/21/02, Randy Bush wrote:
> >
> > >8.3.1-REL on freebsd
> > >
> > >why
> > >
> > >Jun 20 21:27:47 rip named[116]: NS 'RIP.PSG.COM' for 'eg/IN' is a CNAME
> > >
> > >given
> > >
> > >% head -20 /var/dns/secondary/eg
> > >; BIND version named 8.3.0-T2A Fri Oct 12 14:16:55 PDT 2001
> > >; BIND version 
> root at rip.psg.com:/usr/local/src/net/bind-8.2.5/src/bin/named
> > >; zone 'eg'   last serial 2001031302
> > >; from 193.227.1.1:53 (local 147.28.0.39) using AXFR at Mon Oct 22
> > >07:36:50 2001
> > >$ORIGIN .
> > >eg      604800  IN      SOA     FRCU.EUN.eg. Postmaster.FRCU.EUN.eg. (
> > >                 2001102201 15000 7200 12096000 86400 )
> > >         604800  IN      NS      NS1.UNIVIE.AC.AT.
> > >         604800  IN      NS      RIP.PSG.COM.
> > >         604800  IN      NS      FRCU.EUN.eg.
> > >
> > >% dig dig rip.psg.com. any
> > >
> > >; <<>> DiG 8.3 <<>> rip.psg.com. any
> > >;; res options: init recurs defnam dnsrch
> > >;; got answer:
> > >;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> > >;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 6
> > >;; QUERY SECTION:
> > >;;      rip.psg.com, type = ANY, class = IN
> > >
> > >;; ANSWER SECTION:
> > >rip.psg.com.            2h27m21s IN A   147.28.0.39
> > >rip.psg.com.            3h59m50s IN MX  10 psg.com.
> > >
> >



More information about the bind-users mailing list