I've just realized why my laptop has been very slow to show pages or bring up network connections for a long time already. The issue is due to this line in /etc/resolv.conf:
Code: Select all
nameserver 0.0.0.0But even then dnsmasq is never listening to any of my interfaces other than the virtual bridges. Its global configuration file is even empty. It's not even running and is not part of any of OpenRC runlevels.
I suspected my home router (Archer C2) to send buggy DNS options but then I checked and changed the line that said "0.0.0.0" (although it's mentioned "optional") to "1.1.1.1" (just to see what happens). Unfortunately it didn't change anything as to my resolver file.
Although I'm suspecting dhcpcd adds that line to the file I'm actually not sure it does directly update the file and not one of its hooks or a hidden, unsuspected resolver. As for resolvers I have none that I consciously installed (i.e. openresolv). I don't have any VPN either.
Anyway everytime I force dhcpcd to renew its leases (dhcpcd -N) the spurious nameserver line comes back.
Here's dhcpcd configuration file
Code: Select all
hostname
duid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option interface_mtu
require dhcp_server_identifier
slaac privateCode: Select all
total 12
-r--r--r-- 1 root root 2791 17 jun 21:28 10-wpa_supplicant
-r--r--r-- 1 root root 867 17 jun 21:28 15-timezone
-r--r--r-- 1 root root 796 17 jun 21:28 29-lookup-hostnameThanks a lot in advance.



