1 |
On 2022-10-18, Grant Edwards <grant.b.edwards@×××××.com> wrote: |
2 |
|
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. |
7 |
|
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. |
12 |
|
13 |
Why would dhcpcd have the persistent option enabled by default? |
14 |
|
15 |
-- |
16 |
Grant |