RCODE

mutch at my-deja.com mutch at my-deja.com
Tue Jun 6 16:35:45 UTC 2000


Kevin,

Thanks of a lot for this explanation. It's help me very much.
I've a MX wildcard in my zone file.

Thanks,

Fred


In article <393C4A1D.8342AA0B at daimlerchrysler.com>,
  Kevin Darcy <kcd at daimlerchrysler.com> wrote:
> To expand a little bit, remember that there are really 2 parts to any
query:
> the name and the record type. You can get a NOERROR-with-0-answers
response
> from an auth nameserver if the name you queried is matched, but no
records
> of the queried type exist. There are no A records for "fred.sun.com",
but
> sun.com appears to have a wildcard MX record which will match the name
in
> any sun.com query you throw at their servers. That's why it returns
> NOERROR and 0 answers: because it matched the name you queried with
the
> wildcard MX record, but MX wasn't the record type you queried.
>
> I don't know exactly why your nameserver is returning NOERROR instead
of
> NXDOMAIN for fred.mydomain. Do you have a wildcard in the zone? A
little
> more information about how your nameserver is configured would be
helpful...
>
> - Kevin
>
> Mark.Andrews at nominum.com wrote:
>
> >         3 = NXDOMAIN (Name Error)
> >         0 = NOERROR
> >
> >         Mark
> >
> > > Hi,
> > >
> > > Can someone tell me which must be the RCODE when a nameserver
> > > authoritative for a domain resolves a name which doesn't exist ?
The
> > > RCODE should be 3  ? or 0 ?
> > >
> > > I've made some tests :
> > >
> > > If I try to resolve a name (e.g. fred.sun.com)  from the
nameserver
> > > authoritative for the domain "sun.com" I've a RCODE=0 but if I try
to
> > > resolve a hostname (e.g. fred.redhat.com) from the nameserver
> > > authoritative from the domain "redhat.com" I've a RCODE=3
> > >
> > > I've set up my own domain on Solaris 7 (bind 8.1.2) and when I try
to
> > > resolve a mame which doesn't exist (fred.mydomain), I've a RCODE=0
> > >
> > > Any idea ?
> > >
> > > Thanks
> > >
> > > Fred
> > >
> > >
> > >
> > >
> > > Sent via Deja.com http://www.deja.com/
> > > Before you buy.
> > >
> > >
> > --
> > Mark Andrews, Nominum Inc.
> > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > PHONE: +61 2 9871 4742                 INTERNET:
Mark.Andrews at nominum.com
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the bind-users mailing list