Created
March 7, 2019 10:53
-
-
Save emreberber/d9d8ff349465dfe231b0bd56beccbe22 to your computer and use it in GitHub Desktop.
Flush the DNS Cache on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Method 1: Using systemd-resolve to flush DNS-Cache | |
$ sudo systemd-resolve --flush-caches | |
$ sudo systemd-resolve --statistics | |
--------------------------------------------------- | |
Method 2: Using dns-clean to flush DNS-Cache | |
$ sudo /etc/init.d/dns-clean start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment