Skip to content

Instantly share code, notes, and snippets.

@Mec-iS
Created February 5, 2019 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mec-iS/75f16c7d8770ecb6d2cfc46ef1a7754e to your computer and use it in GitHub Desktop.
Save Mec-iS/75f16c7d8770ecb6d2cfc46ef1a7754e to your computer and use it in GitHub Desktop.
Cleanup Ubuntu netwoking

So:

  1. sudo apt-get --purge remove avahi-autoipd avahi-daemon avahi-utils (this is causing A LOT of issues, and it is not needed for Linux networking).
  2. Open file /etc/systemd/resolved.conf
  3. Edit like this:
[Resolve]
DNS=172.16.21.2
#FallbackDNS=
Domains=local
#LLMNR=no
#MulticastDNS=no
#DNSSEC=no
#Cache=yes
#DNSStubListener=yes
  1. sudo systemctl restart systemd-resolved.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment