Skip to content

Instantly share code, notes, and snippets.

@michaelachrisco
Last active August 27, 2020 10:50
Show Gist options
  • Save michaelachrisco/bbe6f55a33a244c6652c85b4fd00a13d to your computer and use it in GitHub Desktop.
Save michaelachrisco/bbe6f55a33a244c6652c85b4fd00a13d to your computer and use it in GitHub Desktop.
Fixes Ubuntu specific NXDOMAIN error

Fixes the following error

systemd-resolved[711]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.

Change contents of /etc/systemd/resolved.conf to:

[Resolve]
DNS=pi-hole-ip-or-other
FallbackDNS=8.8.8.8 8.8.4.4
#Domains=
#LLMNR=no
#MulticastDNS=no
#DNSSEC=no
Cache=yes
DNSStubListener=yes

sudo systemctl restart systemd-resolved

A slightly modified version of https://askubuntu.com/questions/1058750/new-alert-keeps-showing-up-server-returned-error-nxdomain-mitigating-potential

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment