Skip to content

Instantly share code, notes, and snippets.

@magnobiet
Last active April 1, 2018 18:01
Show Gist options
  • Save magnobiet/72cda0a73c88f0a706a1f38fe2f5049a to your computer and use it in GitHub Desktop.
Save magnobiet/72cda0a73c88f0a706a1f38fe2f5049a to your computer and use it in GitHub Desktop.
Public DNS (Domain Name System)

Public DNS address

Adresses

  • 8.8.8.8
  • 8.8.4.4
  • 208.67.222.222
  • 208.67.220.220
  • 9.9.9.9
  • 1.1.1.1
  • 1.0.0.1

flushdns

macOS

sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache

Ubuntu

sudo apt install -y nscd
sudo /etc/init.d/dns-clean restart
sudo /etc/init.d/networking force-reload
sudo /etc/init.d/nscd restart
sudo service network-manager restart

Windows

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