this post was submitted on 30 Oct 2023
10 points (85.7% liked)

Arch Linux

7174 readers
3 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
[โ€“] [email protected] 2 points 10 months 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

[โ€“] [email protected] 1 points 10 months 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