[pkg-dhcp-devel] Bug#596507: /sbin/dhclient: dhclient.conf: prepend domain-name-servers has no effect on resolv.conf
Joel Roth
jroth at pobox.com
Sun Sep 12 08:22:47 UTC 2010
Package: isc-dhcp-client
Version: 4.1.1-P1-9
Severity: important
File: /sbin/dhclient
Greetings,
I'm having trouble configuring /etc/dhcp3/dhclient.conf.
According to the docs, if I include the line:
prepend domain-name-servers 4.2.2.1
I am expecting that a lease renewal should put this
line in resolv.conf:
nameserver 4.2.2.1
I was expecting something like:
domain hawaiiantel.net
search hawaiiantel.net
nameserver 4.2.2.1
nameserver 192.168.0.1 # router address
But after /etc/init.d/networking restart I get the same
resolv.conf as usual:
domain hawaiiantel.net
search hawaiiantel.net
nameserver 192.168.0.1
Relevant config files follow. Thank you.
/etc/dhcp3/dhclient.conf
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
do-forward-updates false
/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet dhcp
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages isc-dhcp-client depends on:
ii debianutils 3.4 Miscellaneous utilities specific t
ii isc-dhcp-common 4.1.1-P1-9 common files used by all the isc-d
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libssl0.9.8 0.9.8o-2 SSL shared libraries
isc-dhcp-client recommends no packages.
Versions of packages isc-dhcp-client suggests:
ii avahi-autoipd 0.6.27-2 Avahi IPv4LL network address confi
pn resolvconf <none> (no description available)
-- no debconf information
More information about the pkg-dhcp-devel
mailing list