Hi, (some years after)
On Sat, Jan 10, 2009 at 07:33:48PM +0100, Christoph Anton Mitterer wrote: > Package: manpages > Version: 3.15-1 > Severity: important > > The resolv.conf manpage says that defaults for domain and search are > generated when not specified... however it seems that this is simply > not the case. > The thing with "the root domain is assumed" might be wrong, too. It does work: # hostname toshi # getent hosts www-master (nothing) # hostname toshi.debian.org # getent hosts www-master 206.12.19.116 www-master.debian.org > What is the priority if you specify both domain and search? > And therse should be better documentation about the actual > difference between that two. Actually, according to glibc/resolv/res_init.c (search for _PATH_RESCONF): * the first domain listed after 'search' keyword the considered the default domain (same as 'domain'). * as whatever is 'domain' or 'search' keyword, the default domain is overwritten, the last seen keyword applies. I don't know is this is a libc bug / should be documented in manpages. > The most options in hosts.conf seem to be ignored,.. can you update this? Do you mean host.conf ? I don't understand what is your point. -- Simon Paillard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org