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
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.