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