Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
LANCache DNS Fix
Edit /etc/systemd/resolved.conf and change the Cache and DNSStubListener lines to no.
Should look like this when you're done:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details
[Resolve]
#DNS=
#FallbackDNS=
#Domains=
#LLMNR=yes
#MulticastDNS=yes
#DNSSEC=allow-downgrade
#DNSOverTLS=no
Cache=no
DNSStubListener=no
#ReadEtcHosts=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment