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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.