Archive Index This month's Index

Subject: Re: domain vs. search

Re: domain vs. search

From: Jakub Hrozek <jhrozek_at_redhat.com>
Date: Mon, 31 May 2010 16:34:57 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/31/2010 03:52 PM, Yang Tse wrote:
> http://www.openbsd.org/cgi-bin/man.cgi?query=resolv.conf&sektion=5
>
> Says:
>
>> > The domain and search keywords are mutually exclusive. If more than one
>> > instance of these keywords is present, the last instance will override.
>> > The search keyword of a system's resolv.conf or resolv.conf.tail file can
>> > be overridden on a per-process basis by setting the environment variable
>> > LOCALDOMAIN to a space-separated list of search domains.

Ah, I can't even read manpages..thanks, Yang!

But that means there is still a bug present - the current code makes the
first instance win, not the last one.

Kindly see the attached patch.

        Jakub
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkwDyREACgkQHsardTLnvCUYSQCfU1yvbImkVfext+cIxWRv9bjV
RtkAoKMjMNL//rgZq0OxMFjZcF0zaONi
=izR+
-----END PGP SIGNATURE-----

  • text/x-patch attachment: stored
  • application/pgp-signature attachment: stored
Received on 2010-05-31