Skip to content

Instantly share code, notes, and snippets.

@michaelachrisco
Last active August 27, 2020 10:50
Show Gist options
  • Select an option

  • Save michaelachrisco/bbe6f55a33a244c6652c85b4fd00a13d to your computer and use it in GitHub Desktop.

Select an option

Save michaelachrisco/bbe6f55a33a244c6652c85b4fd00a13d to your computer and use it in GitHub Desktop.

Revisions

  1. michaelachrisco revised this gist Aug 27, 2020. No changes.
  2. michaelachrisco created this gist Aug 27, 2020.
    20 changes: 20 additions & 0 deletions systemd_resolved.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@

    # 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