ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
Please __disable__ the last two - networkmanager should take care of everything.
Quote:
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.
Once again: if you use NetworkManager, use NetworkManager.
Quote:
Does NetworkManager rely on systemd-resolved
No.
Quote:
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.
Please __disable__ the last two - networkmanager should take care of everything.
Once again: if you use NetworkManager, use NetworkManager.
No.
aaww, cripes. 5 minutes for nothing.
Wait a second. It says here that NetworkManager can be (or has to be?) configured to use systemd-resovled respectively dnsmasq. Doesn't that imply that the service has to be up and running (as it says in the link)?
You can repackage Network Manager to use openresolv. Check the Wiki regarding openresolv vs systemd-resolved.
Here is a build for using openresolv, this build does other things too like disable bluetooth and removes cloud and might not work for wifi (meant for hardwired network):
It took me a while to figure this out. After disabling systemd-resolved.service and removing the link /etc/resolv.conf created by systemd-resolved Networkmanager configured with dnsmasq created /etc/resolv.conf properly and name resolution works well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.