<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: How To Flush Linux / UNIX DNS Cache</title> <atom:link href="http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: david.chen</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-67718</link> <dc:creator>david.chen</dc:creator> <pubDate>Fri, 03 Feb 2012 02:45:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-67718</guid> <description>why not just use
nscd -i hosts
nscd -i passwd .
to flush the cache</description> <content:encoded><![CDATA[<p>why not just use<br
/> nscd -i hosts<br
/> nscd -i passwd .<br
/> to flush the cache</p> ]]></content:encoded> </item> <item><title>By: m4h</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-62449</link> <dc:creator>m4h</dc:creator> <pubDate>Thu, 15 Sep 2011 08:10:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-62449</guid> <description>Manish -&gt;
Change from:
192.168.1.1 admin.domain.com admin
TO:
192.168.1.1 admin admin.domain.com admin</description> <content:encoded><![CDATA[<p>Manish -&gt;</p><p>Change from:<br
/> 192.168.1.1 admin.domain.com admin<br
/> TO:<br
/> 192.168.1.1 admin admin.domain.com admin</p> ]]></content:encoded> </item> <item><title>By: Tricky</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-57191</link> <dc:creator>Tricky</dc:creator> <pubDate>Sun, 10 Apr 2011 11:58:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-57191</guid> <description>@takprosto
Do the commands give an error or are they just not refreshing the DNS? If there&#039;s no error then the DNS entry could be cached elsewhere, for example on your router or your ISP&#039;s DNS server.</description> <content:encoded><![CDATA[<p>@takprosto<br
/> Do the commands give an error or are they just not refreshing the DNS? If there&#8217;s no error then the DNS entry could be cached elsewhere, for example on your router or your ISP&#8217;s DNS server.</p> ]]></content:encoded> </item> <item><title>By: takprosto</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-57186</link> <dc:creator>takprosto</dc:creator> <pubDate>Sat, 09 Apr 2011 23:45:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-57186</guid> <description>Im sorry for my bad english.... but im have Debian.
apt-get install nscd  Ok
-d, --debug                Do not fork and display messages on the current tty
-f, --config-file=NAME     Read configuration data from NAME
-g, --statistic            Print current configuration statistic
-i, --invalidate=TABLE     Invalidate the specified cache
-K, --shutdown             Shut the server down
-t, --nthreads=NUMBER      Start NUMBER threads
--usage                Give a short usage message
commands restart and reload not work ! haven`t )))  and -shutdown not work</description> <content:encoded><![CDATA[<p>Im sorry for my bad english&#8230;. but im have Debian.<br
/> apt-get install nscd  Ok<br
/> -d, &#8211;debug                Do not fork and display messages on the current tty<br
/> -f, &#8211;config-file=NAME     Read configuration data from NAME<br
/> -g, &#8211;statistic            Print current configuration statistic<br
/> -i, &#8211;invalidate=TABLE     Invalidate the specified cache<br
/> -K, &#8211;shutdown             Shut the server down<br
/> -t, &#8211;nthreads=NUMBER      Start NUMBER threads<br
/> &#8211;usage                Give a short usage message</p><p>commands restart and reload not work ! haven`t )))  and -shutdown not work</p> ]]></content:encoded> </item> <item><title>By: nobbiecentos</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-55432</link> <dc:creator>nobbiecentos</dc:creator> <pubDate>Tue, 08 Feb 2011 13:15:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-55432</guid> <description>TY for information its working solution for clear cash from server side</description> <content:encoded><![CDATA[<p>TY for information its working solution for clear cash from server side</p> ]]></content:encoded> </item> <item><title>By: Lost Eagle</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-55275</link> <dc:creator>Lost Eagle</dc:creator> <pubDate>Mon, 31 Jan 2011 16:01:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-55275</guid> <description>Thank U
This &quot;rndc flush&quot; help  lot ... restart doesn&#039;t flush ...
Have  a nice day</description> <content:encoded><![CDATA[<p>Thank U</p><p>This &#8220;rndc flush&#8221; help  lot &#8230; restart doesn&#8217;t flush &#8230;</p><p>Have  a nice day</p> ]]></content:encoded> </item> <item><title>By: Tricky</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-51331</link> <dc:creator>Tricky</dc:creator> <pubDate>Mon, 06 Dec 2010 03:49:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-51331</guid> <description>&lt;i&gt;host&lt;/i&gt; doesn&#039;t bother with the entries in the hosts file. Try &lt;i&gt;ping admin&lt;/i&gt; instead.</description> <content:encoded><![CDATA[<p><i>host</i> doesn&#8217;t bother with the entries in the hosts file. Try <i>ping admin</i> instead.</p> ]]></content:encoded> </item> <item><title>By: Manish</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-51303</link> <dc:creator>Manish</dc:creator> <pubDate>Sat, 04 Dec 2010 18:49:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-51303</guid> <description>Hi
I have a local name resolution issues on CentOS 5.5. I have edited the /etc/hosts file and still the hostname doesn&#039;t resolves to right IP.
Here is what I have priority configuration
# more /etc/host.conf
order hosts,bind
Also /etc/nsswitch.conf file has
hosts:      files dns
more /etc/hosts
192.168.1.1 admin.domain.com admin
# host admin
Host admin not found: 3(NXDOMAIN)
Any suggestions would be appreciated.</description> <content:encoded><![CDATA[<p>Hi</p><p>I have a local name resolution issues on CentOS 5.5. I have edited the /etc/hosts file and still the hostname doesn&#8217;t resolves to right IP.</p><p>Here is what I have priority configuration<br
/> # more /etc/host.conf<br
/> order hosts,bind<br
/> Also /etc/nsswitch.conf file has</p><p>hosts:      files dns<br
/> more /etc/hosts<br
/> 192.168.1.1 admin.domain.com admin</p><p># host admin<br
/> Host admin not found: 3(NXDOMAIN)</p><p>Any suggestions would be appreciated.</p> ]]></content:encoded> </item> <item><title>By: Tricky</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-49190</link> <dc:creator>Tricky</dc:creator> <pubDate>Fri, 03 Sep 2010 04:48:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-49190</guid> <description>@Yogesh. Chances are the DNS is cached outside of your desktop or the DNS is being cached by an application directly.
I wrote an (admittedly regex-cryptic) article on this same issue (sorry for the &quot;competing&quot; link, Vivek) - http://dogma.swiftspirit.co.za/archives/300 - skip to the sections after the label &quot;Flush Mozilla Firefox’s internal DNS cache&quot;.</description> <content:encoded><![CDATA[<p>@Yogesh. Chances are the DNS is cached outside of your desktop or the DNS is being cached by an application directly.</p><p>I wrote an (admittedly regex-cryptic) article on this same issue (sorry for the &#8220;competing&#8221; link, Vivek) &#8211; <a
href="http://dogma.swiftspirit.co.za/archives/300" rel="nofollow">http://dogma.swiftspirit.co.za/archives/300</a> &#8211; skip to the sections after the label &#8220;Flush Mozilla Firefox’s internal DNS cache&#8221;.</p> ]]></content:encoded> </item> <item><title>By: Yogesh</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-49181</link> <dc:creator>Yogesh</dc:creator> <pubDate>Thu, 02 Sep 2010 15:32:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-49181</guid> <description>@Tricky
Thanks for comment, but I am unable to find /etc/init.d/nscd or named on my Centos 5.3 Desktop. Any help?</description> <content:encoded><![CDATA[<p>@Tricky<br
/> Thanks for comment, but I am unable to find /etc/init.d/nscd or named on my Centos 5.3 Desktop. Any help?</p> ]]></content:encoded> </item> <item><title>By: Tricky</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-49179</link> <dc:creator>Tricky</dc:creator> <pubDate>Thu, 02 Sep 2010 14:14:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-49179</guid> <description>@Yogesh: The same commands apply to a desktop
@dejf: Bear in mind per my comment above, perhaps your desktop has a separate DNS cache or the DNS is being cached elsewhere. You have to flush the DNS on all your &quot;upstream&quot; DNS servers as well or change the DNS servers that you&#039;re using.
See the following for info on how to change your DNS settings to these 2 popular public DNS servers:
http://code.google.com/speed/public-dns/
https://store.opendns.com/setup/router/</description> <content:encoded><![CDATA[<p>@Yogesh: The same commands apply to a desktop</p><p>@dejf: Bear in mind per my comment above, perhaps your desktop has a separate DNS cache or the DNS is being cached elsewhere. You have to flush the DNS on all your &#8220;upstream&#8221; DNS servers as well or change the DNS servers that you&#8217;re using.<br
/> See the following for info on how to change your DNS settings to these 2 popular public DNS servers:<br
/> <a
href="http://code.google.com/speed/public-dns/" rel="nofollow">http://code.google.com/speed/public-dns/</a><br
/> <a
href="https://store.opendns.com/setup/router/" rel="nofollow">https://store.opendns.com/setup/router/</a></p> ]]></content:encoded> </item> <item><title>By: Yogesh</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-49175</link> <dc:creator>Yogesh</dc:creator> <pubDate>Thu, 02 Sep 2010 12:08:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-49175</guid> <description>I guess this is for DNS server. What shall I do if I wish to clear DNS cache on a  linux client/desktop machine? [Like ipconfig /flushdns in windows]</description> <content:encoded><![CDATA[<p>I guess this is for DNS server. What shall I do if I wish to clear DNS cache on a  linux client/desktop machine? [Like ipconfig /flushdns in windows]</p> ]]></content:encoded> </item> <item><title>By: dejf</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-49123</link> <dc:creator>dejf</dc:creator> <pubDate>Tue, 31 Aug 2010 15:04:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-49123</guid> <description>&quot;/etc/init.d/dnsmasq restart&quot; do not work, even stop and start does not. There is a clear cache option entioned, but it does not help anyway - dnsmasq remembers...</description> <content:encoded><![CDATA[<p>&#8220;/etc/init.d/dnsmasq restart&#8221; do not work, even stop and start does not. There is a clear cache option entioned, but it does not help anyway &#8211; dnsmasq remembers&#8230;</p> ]]></content:encoded> </item> <item><title>By: Subhash</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-48527</link> <dc:creator>Subhash</dc:creator> <pubDate>Tue, 27 Jul 2010 17:26:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-48527</guid> <description>That is correct!</description> <content:encoded><![CDATA[<p>That is correct!</p> ]]></content:encoded> </item> <item><title>By: takizo</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-48512</link> <dc:creator>takizo</dc:creator> <pubDate>Mon, 26 Jul 2010 14:58:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-48512</guid> <description>it could be nscd is not install?
@James, rndc reload works too :D</description> <content:encoded><![CDATA[<p>it could be nscd is not install?</p><p>@James, rndc reload works too :D</p> ]]></content:encoded> </item> <item><title>By: Tricky</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-41366</link> <dc:creator>Tricky</dc:creator> <pubDate>Sun, 26 Apr 2009 23:50:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-41366</guid> <description>&lt;i&gt;If&lt;/i&gt; nscd is in use, try &quot;nscd -i hosts&quot; as root.
As per James Mills, &quot;rndc flush&quot; if using bind.
If none of these work you might not have a DNS cache to flush anyway and the problem DNS entry may be stored elsewhere, such as your firefox DNS cache, your router&#039;s cache, or another upstream DNS caching server.</description> <content:encoded><![CDATA[<p><i>If</i> nscd is in use, try &#8220;nscd -i hosts&#8221; as root.<br
/> As per James Mills, &#8220;rndc flush&#8221; if using bind.</p><p>If none of these work you might not have a DNS cache to flush anyway and the problem DNS entry may be stored elsewhere, such as your firefox DNS cache, your router&#8217;s cache, or another upstream DNS caching server.</p> ]]></content:encoded> </item> <item><title>By: RudyD</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-40126</link> <dc:creator>RudyD</dc:creator> <pubDate>Wed, 04 Feb 2009 12:35:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-40126</guid> <description>Whoops!
It seems that not the perfect view for precise approach. It seems that if I use bind and there is a resolv.conf too not always the bind is in use. (Ubuntu)  Other important machine (with debian), there is just resolv.conf. Anyhow I have tried to restart (hope works) the /etc/init.d/dns-clean and it seems it worked. But there were reports that this did not do the job. Anyhow, I want to make sure that - especially my debian system - without restarting, even the networking, how can I just restart the name resolution to the newly set values and how to get sure that it is done well?
Thanks!</description> <content:encoded><![CDATA[<p>Whoops!</p><p>It seems that not the perfect view for precise approach. It seems that if I use bind and there is a resolv.conf too not always the bind is in use. (Ubuntu)  Other important machine (with debian), there is just resolv.conf. Anyhow I have tried to restart (hope works) the /etc/init.d/dns-clean and it seems it worked. But there were reports that this did not do the job. Anyhow, I want to make sure that &#8211; especially my debian system &#8211; without restarting, even the networking, how can I just restart the name resolution to the newly set values and how to get sure that it is done well?</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>By: James Mills</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-38811</link> <dc:creator>James Mills</dc:creator> <pubDate>Fri, 19 Sep 2008 08:32:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-38811</guid> <description>Actually, in Bind, you can flush the daemon&#039;s cache by doing
rndc flush</description> <content:encoded><![CDATA[<p>Actually, in Bind, you can flush the daemon&#8217;s cache by doing</p><p>rndc flush</p> ]]></content:encoded> </item> <item><title>By: kazoolist</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-38282</link> <dc:creator>kazoolist</dc:creator> <pubDate>Thu, 10 Jul 2008 22:54:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-38282</guid> <description>I my experience &lt;code&gt;service nscd restart&lt;/code&gt; does &lt;b&gt;not&lt;/b&gt; clear NSCD&#039;s cache. &lt;code&gt;service nscd reload&lt;/code&gt; does, however.</description> <content:encoded><![CDATA[<p>I my experience <code>service nscd restart</code> does <b>not</b> clear NSCD&#8217;s cache. <code>service nscd reload</code> does, however.</p> ]]></content:encoded> </item> <item><title>By: NoPremium.org</title><link>http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-37781</link> <dc:creator>NoPremium.org</dc:creator> <pubDate>Fri, 18 Apr 2008 08:32:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/rhel-debian-ubuntu-flush-clear-dns-cache/#comment-37781</guid> <description>it dont work for me i have ubunu 7.10</description> <content:encoded><![CDATA[<p>it dont work for me i have ubunu 7.10</p> ]]></content:encoded> </item> </channel> </rss>
