Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created August 25, 2020 18:24
Show Gist options
  • Save dnburgess/c5fc66ad9c954c60fc9701e3288adb6a to your computer and use it in GitHub Desktop.
Save dnburgess/c5fc66ad9c954c60fc9701e3288adb6a to your computer and use it in GitHub Desktop.
Port 53 Issues
Port 53 Issues
Usually stems from systemd using port 53.
Use this command to make sure that systemd is using the port:
ss -tlupn
Fix is:
stop systemd-resolved "sudo systemctl stop systemd-resolved"
Edit /etc/systemd/resolved.conf with these:
[Resolve]
DNS=8.8.8.8
#FallbackDNS=
#Domains=
#LLMNR=yes
#MulticastDNS=yes
#DNSSEC=allow-downgrade
#DNSOverTLS=no
#Cache=yes
#DNSStubListener=yes
#ReadEtcHosts=yes
DNSStubListener=no
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
Source: https://medium.com/@niktrix/getting-rid-of-systemd-resolved-consuming-port-53-605f0234f32f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment