Configure a local DNS server for local development work on Linux with NetworkManager and dnsmasq.
-
Check if the
systemd-resolved
stub listener is running:If the output of:
netstat -tulpn | grep "LISTEN"
shows systemd-resolved
listening on 127.0.0.53:53
, then edit /etc/systemd/resolved.conf
and set the following option: