Heading Image

Ubuntu Port 53 Fix

In order to free up port 53 you need to edit the /etc/systemd/resolved.conf file. You can do that by running

sudo nano /etc/systemd/resolved.conf

Replace #DNSStubListener=yes with DNSStubListener=no and then save changes by pressing ctrl + x and then y.

and then run

sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
sudo systemctl restart systemd-resolved

That’s it! Port 53 should be free now

Write a comment
Comments (0)