Date: Fri, 17 Jun 2005 16:43:27 +0200 From: Ulrich Spoerlein <spoerlein@informatik.uni-wuerzburg.de> To: John Baldwin <jhb@FreeBSD.org> Cc: brooks@FreeBSD.org, current@FreeBSD.org Subject: Re: New dhclient broke multiple domains in domain-name Message-ID: <20050617144327.GA943@galgenberg.net> In-Reply-To: <200506161312.51857.jhb@FreeBSD.org> References: <200506161312.51857.jhb@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Thu, 16.06.2005 at 13:12:51 -0400, John Baldwin wrote:
> A feature of both the old and new dhclient(8) is that it would take whatever
> was in the domain-name option returned by the DHCP server and stick it in the
> 'search' line in /etc/resolv.conf. Thus, if you wanted to have DNS search
> multiple domains, you could just pass a space separated list of domains to
> search in domain-name and it would just work. I've made use of this
> "feature" in several different environments in the past including my current
> test lab. It's even used in the example dhclient.conf in dhclient.conf(5):
>
> interface "ep0" {
> send host-name "andare.fugue.com";
> send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
> send dhcp-lease-time 3600;
> supersede domain-name "fugue.com rc.vix.com home.vix.com";
> prepend domain-name-servers 127.0.0.1;
> ...
> }
Interesting.
I'm overwriting make_resolv_conf() in /etc/dhclient-enter-hooks to
achieve the same result on 5-STABLE. If dhclient-enter-hooks is still
supported, you could work around the issue.
Ulrich Spörlein
--
PGP Key ID: F0DB9F44 Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQFCsuGPmArGtfDbn0QRAhFBAKCtP9a/Su7BO9leZ3lGoCxIoXcX7wCeKami
sBkzPbeMC8a3GysSMJlRw10=
=dnEo
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050617144327.GA943>
