this post was submitted on 30 Oct 2023
11 points (86.7% liked)

Arch Linux

7761 readers
23 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

Hi,

I currently use NetworkManager for everything (wi-fi, ethernet, VPN) and it manages my resolv.conf.

Some colleagues use ubuntu and had some trouble with DNS. The fix was easy (and is not relevant here). It makes me wonder: Ubuntu uses NetworkManager but the resolv.conf is managed by systemd-resolvd. Apparently this change is quite recent.

I'm actually happy with my setup and NetworkManager works fine. My question is: Is there anything I'm missing out on. Are there advantages?

top 2 comments
sorted by: hot top controversial new old
[โ€“] somenonewho@feddit.de 3 points 1 year ago

I think the benefit of resolved is that you run a local DNS server and you can do a lot of additional things with that (I think for example avahi hooks into that so you can interact with other machines in your network by their hostname etc.) Also afaik NetworkManager by default can't do split DNS for example which is nice for VPN.

I mostly use resolved on my work machine (Ubuntu) and I do use it's plot DNS feature

[โ€“] raunz@mander.xyz 1 points 1 year ago

Until now I was pretty sure it's only useful if you run systemd-networkd since you would disable NetworkManager.
Benefits would be a more lean network setup with less memory usage and dependencies.
Can't speak on how Ubuntu does things