Matthew Cross wrote:
> This problem can also be resolved using dhclient by putting the following
> into your /etc/dhclient.conf file
>
> supersede domain-name "[yourdomain.com]"
>
> You then can run dhclient again to renew your lease and you will see the
> trailing /000 disappear from your /etc/r
This problem can also be resolved using dhclient by putting the following
into your /etc/dhclient.conf file
supersede domain-name "[yourdomain.com]"
You then can run dhclient again to renew your lease and you will see the
trailing /000 disappear from your /etc/resolv.conf file.
--Matt
___
The following change in /etc/dhclient-script will strip the \000 from
the domain line in resolv.conf
make_resolv_conf() {
# echo search $new_domain_name >/etc/resolv.conf
echo search $new_domain_name | sed -e 's/\\000$//' >/etc/resolv.conf
Sincerely,
Richard Black
http://www.cpqlinux.com/sitema
3 matches
Mail list logo