Re: Problem with dns-search option with dhclient
On Mon, 31 Jan 2011 15:32:37 +0000, Mike wrote:
> I have a Debian Lenny box running ISC-DHCPd. This is providing the DNS
> search option via option dns-search "sub.exmaple.com example.com". This
> is recieved quite happilly by the dhcpcd on my Gentoo box, arriving as
> "search sub.exmaple.com example.com" in /etc/resolv.conf.
>
> When it's recieved by dhclient on my Lenny box, things go less well.
> What appears in /etc/resolv.conf is "search
> sub.example.com\032example.com".
(...)
Maybe you have to enclose the domain names with quotes and separate them
by comma ",":
option domain-search "sub.example.com", "example.com";
Greetings,
--
Camaleón
Reply to: