Created
August 25, 2020 18:24
-
-
Save dnburgess/c5fc66ad9c954c60fc9701e3288adb6a to your computer and use it in GitHub Desktop.
Port 53 Issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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