Hacker symbol

September 8, 2019 ~ 1 min read

Linux dns config

The default dns resolver for systemd is systemd-resolved. It's configuration is located at: /etc/systemd/resolved.conf

One can specify which dns to use in /etc/NetworkManager/NetworkManager.conf:

# /etc/NetworkManager/NetworkManager.conf
[main] dns=dnsmasq # or none

Sebastian BolaƱos

Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on trustless systems.