How to flush DNS in Ubuntu 13.10?
7,022
Solution 1
Install nscd using the following command if not yet
sudo apt-get install nscd
Flush DNS Cache in Ubuntu by restarting the nscd
sudo /etc/init.d/nscd restart
Solution 2
There is no actual need to flush DNS as Ubuntu doesn't cache DNS. Instead, your ISP may be caching DNS. If you want to enable DNS cache, install pdnsd
and resolvconf
.
Related videos on Youtube
Author by
Pramod
Updated on September 18, 2022Comments
-
Pramod over 1 year
We recently moved our website to a new server. But after changing the NS (name server) records, I can't access my website. The hosting provider said we need to flush the DNS settings in order to see the new website.
I searched relating to this but I couldn't find a way to flush DNS settings in Ubuntu 13.10.
-
AzkerM about 10 yearsUsually NS takes time to update its records & it depends. As far as I know, Ubuntu doesn't cache DNS by default but your ISP (assuming). Refer How do I clear the DNS cache?
-
-
Pramod about 10 yearsI'm so sorry. I'm new to Ubuntu and this forum too! Thank you telling me that :D
-
Maythux about 10 years@user245632 you are welcomed
-
Maythux about 10 years@Pramod an upvote is fair
-
owl almost 10 years@Pramod if it has helped you, please upvote! Thank you :)
-
owl almost 10 years@Ask That application only enables DNS caches, as mentioned by AzkerM and me, Ubuntu does not cache DNS by default.
-
mckenzm almost 5 yearsAll very well, but it is a long way from 13 to 18.