Getting rid of systemd-resolved consuming port 53
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
- stop systemd-resolved “ sudo systemctl stop systemd-resolved”
- edit /etc/systemd/resolved.conf with these
3) sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
And done !!