nxdomain

Noel Butler noel.butler at ausics.net
Fri Aug 30 01:54:17 UTC 2013


Barry,

On Thu, 2013-08-29 at 16:16 -0400, Barry Margolin wrote:

> In article <mailman.1210.1377758162.20661.bind-users at lists.isc.org>,
>  Noel Butler <noel.butler at ausics.net> wrote:
> 
> > replying to ones self a few times in one day or a sign I need a break..
> > but...
> > 
> > I think the issue is this
> > 
> > Trying "www.undernet.org"
> > Received 34 bytes from 198.147.21.12#53 in 348 ms
> > Trying "www.undernet.org.ausics.net"
> > Using domain server:
> > 
> > Host www.undernet.org not found: 3(NXDOMAIN)
> > 
> > it comes down the host etc once again needing the period after the
> > domain - this was a reported and fixed bug a few years ago, it seems
> > sometime  between then and now, it is become broken again. 
> > 
> > So I guess those  3rd party servers I've tested still use te older and
> > "fixed" version.
> 
> What does your /etc/resolv.conf look like? This looks like it might be 
> an "ndots" issue, causing host (and other applications that use the 
> default search option) to try adding the default domain to names that it 
> shouldn't.
> 

domain and 2x nameservers , nothing special is defined

From memory this bug was confirmed and fixed, but, if my summary proves
correct, was back in ... March 2007

ndots appears to be where the bug is, since nothing is defined, it
should 1, so it should have seen, in our example, www.undernet.org, as
www.undernet.org and nothing more, and returned REFUSED, not carried on.

"      The default value is that defined using the ndots statement
in /etc/resolv.conf,
       or 1 if no ndots statement is present. Names with fewer dots are
interpreted as relative
       names and will be searched for in the domains listed in the
search or domain directive in
       /etc/resolv.conf. 
"

proving the point...
 ~$ host -v -N1 www.undernet.org ns1.ausics.net
Trying "www.undernet.org"
Received 34 bytes from 62.113.243.167#53 in 365 ms
Trying "www.undernet.org.ausics.net"
Using domain server:
Name: ns1.ausics.net
Address: 62.113.243.167#53
Aliases: 

Host www.undernet.org not found: 3(NXDOMAIN)

(even -N0 reports same as above)

Cheers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130830/3ca4c0c8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130830/3ca4c0c8/attachment-0001.bin>


More information about the bind-users mailing list