Getting rid of systemd-resolved consuming port 53

Nitin Gurbani
1 min readMar 13, 2019

--

There are cases in which you need to use port 53, like to usednsmasq, dns server etc. which is used by systemd-resolved. to get rid of systemd-resolved safely

  1. stop systemd-resolved “ sudo systemctl stop systemd-resolved”
  2. edit /etc/systemd/resolved.conf with these
[Resolve]

3) sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

And done !!

--

--

Nitin Gurbani

Argumentative. Opinionated. Always right. . Drinker. love Fun, knowledge greedy .