Name resolution with Networkmanager
by platypo from LinuxQuestions.org on (#543ZM)
I am running Archlinux-ARM Version 5.4.40-1-ARCH #1 SMP PREEMPT on a Raspberry Pi and i seem to have issues with name resolution. Sometimes it takes very long to resolve a name, sometimes it only works on a second attempt and sometimes it fails.
I recently tried to get networking mostly to be managed by NetworkManager. So the only "networking-relevant" services actively running are
iptables.service
NetworkManager.service
systemd-resolved.service
wpa-supplicant.service
I don't know how to set up dns-resolution properly. I can either edit dns-settings via 'nmtui' respectively 'nmcli', wich are currently set to 'Automatic' or i can use resolvectl. /etc/systemd/resolved.conf currently points to my gateway/isp-router and 8.8.8.8 as fallback server, along with the Options 'LLMNR', 'DNSSec' and 'DNSStubListener' set to 'no'.
Does NetworkManager rely on systemd-resolved and if so what would be the proper settings? Can nameresolution also be managed by NetworkManager only?
Edit: i'm sorry i was so caught up with the issue that i completely forgot about the archlinux.org wiki-page. It gives clear instructions on the NetworkManager-site. I'll mark this thread as solved as soon as i figured this out.


I recently tried to get networking mostly to be managed by NetworkManager. So the only "networking-relevant" services actively running are
iptables.service
NetworkManager.service
systemd-resolved.service
wpa-supplicant.service
I don't know how to set up dns-resolution properly. I can either edit dns-settings via 'nmtui' respectively 'nmcli', wich are currently set to 'Automatic' or i can use resolvectl. /etc/systemd/resolved.conf currently points to my gateway/isp-router and 8.8.8.8 as fallback server, along with the Options 'LLMNR', 'DNSSec' and 'DNSStubListener' set to 'no'.
Does NetworkManager rely on systemd-resolved and if so what would be the proper settings? Can nameresolution also be managed by NetworkManager only?
Edit: i'm sorry i was so caught up with the issue that i completely forgot about the archlinux.org wiki-page. It gives clear instructions on the NetworkManager-site. I'll mark this thread as solved as soon as i figured this out.