-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28-Oct-2002/22:09 -0800, "Todd A. Jacobs" <[EMAIL PROTECTED]> wrote: >When using dhclient with a dynamic IP, new leases overwrite my >/etc/resolv.conf and removes the 127.0.0.1 address for local caching. How >can I ensure that this address remains in the updated files--or turn off >updates to resolv.conf if necessary?
The interface is probably started by the /sbin/ifup script. In my script dhcpcd is tried first, then pump. The ifup script calls an interface-specific configuration script (ie; /etc/sysconfig/nework-scripts/ifcfg-ppp0). In that script, you can set variables to tell either dhcpcd or pump not to overwrite resolv.conf: PUMPARGS="-d" DHCPCDARGS="-R" Tony - -- Anthony E. Greene <mailto:Anthony%20E.%20Greene%20%3Cagreene@;pobox.com%3E> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene <mailto:agreene@;pobox.com> 0x6C94239D iD8DBQE9vjdupCpg3WyUI50RArwnAJ46Ikzi2kAncZ62Y/WmciL/9QynbwCeOgR5 KLp+GAGQT7h38oJ4hRW4N9A= =nVEV -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list