[pkg-dhcp-devel] Bug#533302: dhclient.conf: prepend domain-search "example.net" does not prepend but replace the search value

Michael Stapelberg stapelberg at debian.org
Tue Dec 11 19:13:01 UTC 2012


reassign 533302 isc-dhcp-client 4.2.2.dfsg.1-5+deb70u2
thanks

On Tue, 16 Jun 2009 13:09:01 +0200
Michael Stapelberg <michael+db20090501 at stapelberg.de> wrote:
> Package: dhcp3-client
> Version: 3.1.1-6
> Severity: important
> 
> Normally, when using DHCP, I get a line like "search foo.lan" in
> my /etc/resolv.conf. After specifying the following
> in /etc/dhcp3/dhclient.conf:
> 
> prepend domain-search "example.net";
> 
> my /etc/resolv.conf contained "search example.net." where it should
> use "search example.net foo.lan" instead.
I can still reproduce this bug (over 3 years old by now!) with
isc-dhcp-client 4.2.2.dfsg.1-5+deb70u2 (currently in testing):

$ cat /etc/resolv.conf
domain gesteb.lan
search gesteb.lan
nameserver 192.168.210.10
$ cat >>/etc/dhcp/dhclient.conf <<EOF
supersede domain-name "gesteb-service.de";
prepend domain-search "gesteb-service.de";
EOF
$ ifdown eth0 && ifup eth0
$ cat /etc/resolv.conf .
domain gesteb-service.de
search gesteb-service.de.
nameserver 192.168.210.10

Is there any news from ISC about this issue (tracked as [ISC-Bugs
#20558])?

-- 
Best regards,
Michael



More information about the pkg-dhcp-devel mailing list