Summary: | net-misc/dhcpcd-3.0.2 periodically overrides /etc/resolv.conf | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sascha Hlusiak <bugs> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sascha Hlusiak
2006-12-05 15:03:36 UTC
I have net-misc/dhcpcd-3.0.2 installed. I'm connected to a network with a dhcp Server that provides the address of the DNS Server. Seen behaviour: 1) dhcpcd starts für eth0, sets the default route and replaces /etc/resolv.conf 2) Running kppp to connect to a dialup network replaces my default route and the /etc/resolv.conf 3) when the DHCP lease expires (here after 1200 seconds) it overrides the /etc/resolv.conf again 4) The default route is NOT renewed This makes it hard for me to use a dialup client, because the DNS Servers are changed again after my network lease expires. Expected behaviour: 1) When first obtaining a DHCP lease, write the /etc/resolv.conf 2) When renewing a lease, the existing /etc/resolv.conf should be untouched, unless the network configuration has changed Thanks, Sascha Why don't you emerge resolvconf-gentoo to manage /etc/resolv.conf for you? Thank you, I did not know about resolvconf-gentoo. It works just fine now. Cool, closing then. Thanks for reporting back. |