[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DNS Resolution and Short Names with Dots



On Wed, Sep 24, 2014 at 11:30:43AM -0400, Mark Kamichoff wrote:
> On Wed, Sep 24, 2014 at 08:55:51AM +0100, Karl E. Jorgensen wrote:
> > Perhaps one of the recent libc upgrades have changed the default for
> > 'ndots' ?
> > 
> > If so, according to a quick scan of the resolv.conf(5) manual page you
> > should be able add this to /etc/resolv.conf to get your old behaviour
> > back:
> > 
> >        options ndots:3
> 
> I thought of ndots but I figured surely default wouldn't change.. silly
> me!  This was indeed the culprit.
> 
> If the change is in libc, it appears to be between 2.19-4 and 2.19-7.
> 
> http://metadata.ftp-master.debian.org/changelogs//main/g/glibc/glibc_2.19-11_changelog
> 
> .. doesn't seem to indicate any resolver / DNS changes between those
> versions, though.  I'll continue to research.

I took a peek at the source for glibc-2.19.  My addition of ndots:3
shouldn't have worked since the default is ndots:4.

(destiny:10:56)% grep ndots resolv/resolv.h 
	unsigned ndots:4;		/* threshold for initial abs. query */

More research needed ... 

- Mark

-- 
Mark Kamichoff
prox@prolixium.com
http://www.prolixium.com/

Attachment: signature.asc
Description: Digital signature


Reply to: