NetworkManager/DNS
NetworkManager implements several dns clients.
default
The default method adds the DNS servers from the network connections. It gives a warning that "the libc resolver may not support more than 3 nameservers".
This can have issues with some applications (such as aerc or senpai) as the top 3 DNS servers may be inaccessible over your WiFi network.
(for example T-Mobile adds 4 DNS Servers which are only accessible on their network: https://rudism.com/solving-openvpn-dns-issues-on-android-clients/)
dnsmasq
Setting
dns=dnsmasq
in NetworkManager.conf by default will have issues, as NetworkManager will overwrite the /etc/resolv.conf which dnsmasq needs by default.
edit /etc/dnsmasq.conf
resolv-file=/var/run/NetworkManager/no-stub-resolv.conf
and add it to the default runlevel so openrc will autostart it.
issue: if dnsmasq crashes, openrc won't automatically start it. Having no working dns server will cause chrony to fail to set your time. (among most everything network related not working)
it's always crashing on boot... maybe because /var/run/NetworkManager/no-stub-resolv.conf doesn't exist yet?