Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: resolv.conf full of old info
Date: Wed, 19 Oct 2022 00:00:46
Message-Id: tinemv$ula$
In Reply to: [gentoo-user] resolv.conf full of old info by Grant Edwards
1 On 2022-10-18, Grant Edwards <grant.b.edwards@×××××.com> wrote:
3 > I've noticed that /etc/resolv.conf seems to accumulate obsolete,
4 > useless info as my laptop moves from one network to another. It looks
5 > like dhcpcd adds stuff when a connection comes up, but never removes
6 > it when the connection goes down.
8 This appears to be caused by the "persistent" option in dhcpcd.conf,
9 which is set by default. I commented it out, and now resolv.conf
10 behaves rationally: it only contains info for network connections that
11 are up.
13 Why would dhcpcd have the persistent option enabled by default?
15 --
16 Grant


Subject Author
Re: [gentoo-user] Re: resolv.conf full of old info Michael <confabulate@××××××××.com>