View Full Version : [SOLVED] Flushing the DNS
elidoperezmd
May 27th, 2010, 03:18 AM
hi all...
Im trying to flush the dns, after doing some reading online im entering:
sudo `/etc/init.d/nscd restart`
and the terminal responds:
bash: /etc/init.d/nscd: No such file or directory
what am i doing wrong?
thanks for the help, im using linx
CharlesA
May 27th, 2010, 03:24 AM
Linux doesn't cache dns names by default.
You would need to install nscd.
Why do you need to flush the dns?
More info here (http://www.pctipsbox.com/howto-clearflush-dns-cache-in-ubuntu/).
elidoperezmd
May 27th, 2010, 03:31 AM
tryning to keep some privacy, you can never be to carefull
CharlesA
May 27th, 2010, 03:58 AM
So flushing the dns cache (which Ubuntu doesn't use by default) will allow you more "privacy" ?
Hrm, ok.
elidoperezmd
May 27th, 2010, 04:09 AM
So flushing the dns cache (which Ubuntu doesn't use by default) will allow you more "privacy" ?
Hrm, ok.
http://lifehacker.com/5395267/how-to-really-browse-without-leaving-a-trace
if im mistaken please give me some advice
CharlesA
May 27th, 2010, 04:15 AM
Caching DNS resolutions is mostly a Windows thing. Ubuntu can do it, but you would need to install the nscd daemon (it is not installed by default) or be running your own DNS server.
If you are really worried about it just restart networking:
sudo /etc/init.d/networking restart
elidoperezmd
May 27th, 2010, 04:18 AM
Caching DNS resolutions is mostly a Windows thing. Ubuntu can do it, but you would need to install the nscd daemon (it is not installed by default) or be running your own DNS server.
If you are really worried about it just restart networking:
sudo /etc/init.d/networking restart
will that do the trick?
CharlesA
May 27th, 2010, 04:20 AM
There is no cache to clear, all that does it just restart the networking service.
elidoperezmd
May 27th, 2010, 05:16 AM
Caching DNS resolutions is mostly a Windows thing. Ubuntu can do it, but you would need to install the nscd daemon (it is not installed by default) or be running your own DNS server.
If you are really worried about it just restart networking:
sudo /etc/init.d/networking restart
any ways to make this command run on its own from time to time???
CharlesA
May 27th, 2010, 05:23 AM
You could stick it in a cronjob.
Powered by vBulletin® Version 4.2.2 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.