Someone is re-writing my /etc/resolv.conf
Charles Curley
charlescurley at charlescurley.com
Thu Dec 20 11:39:57 MST 2007
I have an ancient machine that serves as my gateway/firewall,
issola. It has Ubuntu 7.10, upgraded from 7.04. The original
insrtallation was done from an Xubuntu CD using the alternate install
method.
I have its external interface set up to use DHCP, the internal
interface is fixed. I have used 192.168.1.3 as a name server; I now
want to shift that to 192.168.1.47. I can edit /etc/resolv.conf, but
something is re-writing it to use the old IP address.
Part of /etc/dhcp3/dhclient.conf is as follows:
prepend domain-name-servers 192.168.1.47;
prepend domain-name-servers 192.168.1.4;
supersede domain-name "localdomain";
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name,
netbios-name-servers, netbios-scope;
#require subnet-mask, domain-name-servers;
Doing this:
root at issola:/etc/resolvconf/resolv.conf.d# find /etc/ /var -type f | grep -v ~$ | xargs grep '192\.168\.1\.3' | grep -v /var/log/
doesn't turn up anything obvious.
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20071220/6190d6e0/attachment.pgp
More information about the PLUG
mailing list