* [gentoo-user] Re: resolv.conf full of old info
@ 2022-10-19 0:00 99% ` Grant Edwards
0 siblings, 0 replies; 1+ results
From: Grant Edwards @ 2022-10-19 0:00 UTC (permalink / raw
To: gentoo-user
On 2022-10-18, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> I've noticed that /etc/resolv.conf seems to accumulate obsolete,
> useless info as my laptop moves from one network to another. It looks
> like dhcpcd adds stuff when a connection comes up, but never removes
> it when the connection goes down.
This appears to be caused by the "persistent" option in dhcpcd.conf,
which is set by default. I commented it out, and now resolv.conf
behaves rationally: it only contains info for network connections that
are up.
Why would dhcpcd have the persistent option enabled by default?
--
Grant
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-10-18 22:21 [gentoo-user] resolv.conf full of old info Grant Edwards
2022-10-19 0:00 99% ` [gentoo-user] " Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox