Re: cvs commit: squid/src dns_internal.c

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 21 Apr 2008 16:45:41 +0200

mån 2008-04-21 klockan 16:27 +0200 skrev Guido Serassio:
> But there is some standard defined about ?

Doubtful. resolv.conf is not specified in SUS, so the closest to
standard for resolv.conf is the bind implementation I think.

> This could be a GLIBC bug ....

Could be. Not sure domain is meant to replace search if specified
after.. but it's at least a well documented one

       The domain and search keywords are mutually exclusive. If more than
       one instance of these keywords is present, the last instance wins.

Documented on both Linux glibc and FreeBSD libc.

> On Windows the search list always overrides the machine domain.

Isn't these parameters in the registry on Windows which means no
ordering issues?

> What should be the correct behaviour ?

I think the comment above specifies the correct behavior, the admin
SHOULD only specify one of domain/search and at most once. If both is
specified, or specified multiple times the result may be implementation
dependent.

Regards
Henrik
Received on Tue Apr 22 2008 - 12:32:32 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 30 2008 - 12:00:07 MDT