<?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: Local DNS Cache for Faster Browsing on Ubuntu Machine</title>
	<atom:link href="http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html</link>
	<description>Ubuntu Linux Tutorials,Howtos,Tips &#38; News &#124; Oneiric,Natty,Maverick</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:40:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ThinkUbuntu</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-44777</link>
		<dc:creator>ThinkUbuntu</dc:creator>
		<pubDate>Mon, 23 Aug 2010 12:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-44777</guid>
		<description>Great tip. Saves time (several hops to ISP on broadband and 3g wireless dns is slow to) 

One question, why is this not enabled by default in Ubuntu, what is the downside?

Can the DNS entries become corrupt, and how long are the tables maintained?

Great tip though!</description>
		<content:encoded><![CDATA[<p>Great tip. Saves time (several hops to ISP on broadband and 3g wireless dns is slow to) </p>
<p>One question, why is this not enabled by default in Ubuntu, what is the downside?</p>
<p>Can the DNS entries become corrupt, and how long are the tables maintained?</p>
<p>Great tip though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dude</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-12458</link>
		<dc:creator>Dude</dc:creator>
		<pubDate>Sat, 29 Aug 2009 07:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-12458</guid>
		<description>I just wanted to see current situation before installing dnsmasq and it seems that there is a cache in ubuntu. So can we say ubuntu 9.04 has it out-of-the-box ?
mustafa@mustafa-desktop:~$ dig www.youtube.com

; &lt;&gt; DiG 9.5.1-P2 &lt;&gt; www.youtube.com
;; global options:  printcmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 48259
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.youtube.com.		IN	A

;; ANSWER SECTION:
www.youtube.com.	86400	IN	A	88.255.41.21

;; AUTHORITY SECTION:
youtube.com.		86400	IN	NS	ns.company.lan.

;; Query time: 2014 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Aug 29 10:15:13 2009
;; MSG SIZE  rcvd: 77

mustafa@mustafa-desktop:~$ dig www.youtube.com

; &lt;&gt; DiG 9.5.1-P2 &lt;&gt; www.youtube.com
;; global options:  printcmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 22587
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;www.youtube.com.		IN	A

;; ANSWER SECTION:
www.youtube.com.	10000	IN	A	88.255.41.21

;; Query time: 2 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Aug 29 10:15:15 2009
;; MSG SIZE  rcvd: 49</description>
		<content:encoded><![CDATA[<p>I just wanted to see current situation before installing dnsmasq and it seems that there is a cache in ubuntu. So can we say ubuntu 9.04 has it out-of-the-box ?<br />
mustafa@mustafa-desktop:~$ dig <a href="http://www.youtube.com" rel="nofollow">http://www.youtube.com</a></p>
<p>; &lt;&gt; DiG 9.5.1-P2 &lt;&gt; <a href="http://www.youtube.com" rel="nofollow">http://www.youtube.com</a><br />
;; global options:  printcmd<br />
;; Got answer:<br />
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 48259<br />
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0</p>
<p>;; QUESTION SECTION:<br />
;www.youtube.com.		IN	A</p>
<p>;; ANSWER SECTION:<br />
<a href="http://www.youtube.com" rel="nofollow">http://www.youtube.com</a>.	86400	IN	A	88.255.41.21</p>
<p>;; AUTHORITY SECTION:<br />
youtube.com.		86400	IN	NS	ns.company.lan.</p>
<p>;; Query time: 2014 msec<br />
;; SERVER: 192.168.2.1#53(192.168.2.1)<br />
;; WHEN: Sat Aug 29 10:15:13 2009<br />
;; MSG SIZE  rcvd: 77</p>
<p>mustafa@mustafa-desktop:~$ dig <a href="http://www.youtube.com" rel="nofollow">http://www.youtube.com</a></p>
<p>; &lt;&gt; DiG 9.5.1-P2 &lt;&gt; <a href="http://www.youtube.com" rel="nofollow">http://www.youtube.com</a><br />
;; global options:  printcmd<br />
;; Got answer:<br />
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 22587<br />
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0<br />
;; WARNING: recursion requested but not available</p>
<p>;; QUESTION SECTION:<br />
;www.youtube.com.		IN	A</p>
<p>;; ANSWER SECTION:<br />
<a href="http://www.youtube.com" rel="nofollow">http://www.youtube.com</a>.	10000	IN	A	88.255.41.21</p>
<p>;; Query time: 2 msec<br />
;; SERVER: 192.168.2.1#53(192.168.2.1)<br />
;; WHEN: Sat Aug 29 10:15:15 2009<br />
;; MSG SIZE  rcvd: 49</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Stark</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-451</link>
		<dc:creator>David Stark</dc:creator>
		<pubDate>Mon, 17 Nov 2008 04:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-451</guid>
		<description>Hi mate,

great little tutorial, however I think everyone with no firwall between them and the net should know this:

Supposing you only have one interface open to the internet  (IE eth0)

If you state in your config &quot;listen-adress=127.0.0.1&quot;  you would kinda expect it to do exactly that.

however running this reveals that it has opened a TCP port on your eth0:

(Great if you wanna speed things up on your LAN for others, but not for me)

   To see what its doing on run:

$ netstat -ant &#124; grep :53
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN
tcp        0      0 {YOUR ETH0 IP}:53        {YOUR ETH0 IP}:47167     TIME_WAIT



I want that port DEAD, and i&#039;m not gonna use a firewall to do what software should control.. so...

I fiddled with some of the settings in dnsmasq.conf  like:

except-interface=eth0
interface=lo

But still this didn&#039;t work.., nmap could still see something running :

$ nmap {YOUR ETH0 IP} -p 53 -A

Starting Nmap 4.20 ( http://insecure.org ) at 2008-11-17 03:51 GMT
Interesting ports on  ({YOUR ETH0 IP}):
PORT   STATE SERVICE    VERSION
53/tcp open  tcpwrapped



-----

I&#039;m sure its not a big thing but i&#039;m a paranoid perfectionist...




Anyway all it needed to actually completely ignore eth0  is:



interface=lo
bind-interfaces



========= Viola !!!========

$ nmap {YOUR ETH0 IP} -p 53 -A &#124; grep 53
53/tcp closed domain

$ netstat -ant &#124; grep :53
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN

$ sudo lsof &#124; grep dnsmasq &#124; grep :
dnsmasq   27561    dnsmasq    5u     IPv4     155191                  TCP localhost:domain (LISTEN)
dnsmasq   27561    dnsmasq    6u     IPv4     155192                  UDP localhost:domain
dnsmasq   27561    dnsmasq    9u     IPv4     155201                  UDP *:37795




Hope this helps :)</description>
		<content:encoded><![CDATA[<p>Hi mate,</p>
<p>great little tutorial, however I think everyone with no firwall between them and the net should know this:</p>
<p>Supposing you only have one interface open to the internet  (IE eth0)</p>
<p>If you state in your config &#8220;listen-adress=127.0.0.1&#8243;  you would kinda expect it to do exactly that.</p>
<p>however running this reveals that it has opened a TCP port on your eth0:</p>
<p>(Great if you wanna speed things up on your LAN for others, but not for me)</p>
<p>   To see what its doing on run:</p>
<p>$ netstat -ant | grep :53<br />
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN<br />
tcp        0      0 {YOUR ETH0 IP}:53        {YOUR ETH0 IP}:47167     TIME_WAIT</p>
<p>I want that port DEAD, and i&#8217;m not gonna use a firewall to do what software should control.. so&#8230;</p>
<p>I fiddled with some of the settings in dnsmasq.conf  like:</p>
<p>except-interface=eth0<br />
interface=lo</p>
<p>But still this didn&#8217;t work.., nmap could still see something running :</p>
<p>$ nmap {YOUR ETH0 IP} -p 53 -A</p>
<p>Starting Nmap 4.20 ( <a href="http://insecure.org" rel="nofollow">http://insecure.org</a> ) at 2008-11-17 03:51 GMT<br />
Interesting ports on  ({YOUR ETH0 IP}):<br />
PORT   STATE SERVICE    VERSION<br />
53/tcp open  tcpwrapped</p>
<p>-----</p>
<p>I&#8217;m sure its not a big thing but i&#8217;m a paranoid perfectionist&#8230;</p>
<p>Anyway all it needed to actually completely ignore eth0  is:</p>
<p>interface=lo<br />
bind-interfaces</p>
<p>========= Viola !!!========</p>
<p>$ nmap {YOUR ETH0 IP} -p 53 -A | grep 53<br />
53/tcp closed domain</p>
<p>$ netstat -ant | grep :53<br />
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN</p>
<p>$ sudo lsof | grep dnsmasq | grep :<br />
dnsmasq   27561    dnsmasq    5u     IPv4     155191                  TCP localhost:domain (LISTEN)<br />
dnsmasq   27561    dnsmasq    6u     IPv4     155192                  UDP localhost:domain<br />
dnsmasq   27561    dnsmasq    9u     IPv4     155201                  UDP *:37795</p>
<p>Hope this helps <img src='http://www.ubuntugeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ar4miS</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-450</link>
		<dc:creator>Ar4miS</dc:creator>
		<pubDate>Tue, 26 Aug 2008 22:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-450</guid>
		<description>Excellent tips ! I&#039;m living in new Caledonia and like
Shipwright Says:

It makes an enormous difference over satellite, where each request is a two second round trip

Thanks a lot</description>
		<content:encoded><![CDATA[<p>Excellent tips ! I&#8217;m living in new Caledonia and like<br />
Shipwright Says:</p>
<p>It makes an enormous difference over satellite, where each request is a two second round trip</p>
<p>Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dyssolution</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-449</link>
		<dc:creator>Dyssolution</dc:creator>
		<pubDate>Tue, 12 Aug 2008 05:44:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-449</guid>
		<description>Great info, thanks for the post!</description>
		<content:encoded><![CDATA[<p>Great info, thanks for the post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher L. Everett</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-448</link>
		<dc:creator>Christopher L. Everett</dc:creator>
		<pubDate>Sun, 13 Jul 2008 21:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-448</guid>
		<description>I combined this with OpenDNS for an even better boost.</description>
		<content:encoded><![CDATA[<p>I combined this with OpenDNS for an even better boost.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SilverWave</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-447</link>
		<dc:creator>SilverWave</dc:creator>
		<pubDate>Fri, 27 Jun 2008 21:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-447</guid>
		<description>Thanks for the post - just what I was looking for as my ISP&#039;s DNS is slower than a slow thing ;)

Cheers!</description>
		<content:encoded><![CDATA[<p>Thanks for the post - just what I was looking for as my ISP&#8217;s DNS is slower than a slow thing <img src='http://www.ubuntugeek.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Runaway1956</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-446</link>
		<dc:creator>Runaway1956</dc:creator>
		<pubDate>Sun, 15 Jun 2008 19:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-446</guid>
		<description>Yeah, in NORMAL circumstances, using a DNS cache saves you about 1/3 of an eyeblink.  Yeah, big deal.

BUT - people like myself who live in outback nowhere, and rely on unreliable ISP´s, with unreliable DNS servers can realize a tremendous saving in time.  It was not unusual for me to wait several seconds, just to read a message that an address couldn´t be found.  Preposterous, that I can open maybe 6 tabs on a given site, and the seventh address can´t be found!!

Running your own DNS cache and/or DNS server can make the difference between enjoying your time online, or just giving up, out of frustration.</description>
		<content:encoded><![CDATA[<p>Yeah, in NORMAL circumstances, using a DNS cache saves you about 1/3 of an eyeblink.  Yeah, big deal.</p>
<p>BUT - people like myself who live in outback nowhere, and rely on unreliable ISP´s, with unreliable DNS servers can realize a tremendous saving in time.  It was not unusual for me to wait several seconds, just to read a message that an address couldn´t be found.  Preposterous, that I can open maybe 6 tabs on a given site, and the seventh address can´t be found!!</p>
<p>Running your own DNS cache and/or DNS server can make the difference between enjoying your time online, or just giving up, out of frustration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aremania</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-445</link>
		<dc:creator>aremania</dc:creator>
		<pubDate>Fri, 25 Apr 2008 02:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-445</guid>
		<description>it&#039;s work - thank you very very much

Yes this should be standard on Ubuntu desktop</description>
		<content:encoded><![CDATA[<p>it&#8217;s work - thank you very very much</p>
<p>Yes this should be standard on Ubuntu desktop</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-444</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Wed, 23 Apr 2008 21:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-444</guid>
		<description>This is great - thanks.

I can&#039;t disagree more strongly with Dan&#039;s cynicism (comment 1 above). He clearly doesn&#039;t understand the aggregating problems of network latency nor that DNS sometimes hiccups and goes slowly for the odd second (or so it seems to me). And that&#039;s for wired people - not putting up with satellites etc (comment 7 above).

The local dnsmasq cache solves these problems. I agree with the suggestion that this should be standard on Ubuntu desktop.

:-)</description>
		<content:encoded><![CDATA[<p>This is great - thanks.</p>
<p>I can&#8217;t disagree more strongly with Dan&#8217;s cynicism (comment 1 above). He clearly doesn&#8217;t understand the aggregating problems of network latency nor that DNS sometimes hiccups and goes slowly for the odd second (or so it seems to me). And that&#8217;s for wired people - not putting up with satellites etc (comment 7 above).</p>
<p>The local dnsmasq cache solves these problems. I agree with the suggestion that this should be standard on Ubuntu desktop.<br />
 <img src='http://www.ubuntugeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-443</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Sun, 27 Jan 2008 23:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-443</guid>
		<description>Firefox was taking several seconds to resolve domain names on me in ubuntu 7.10, disabling IPV6 didn&#039;t help but this method made a huge different.  I&#039;m not sure if using a local DNS server isn&#039;t just kludging around something else that&#039;s misconfigured for the ISP DNS, but hey, it works!

I read a lot of complaints about poky web-browing with Firefox in ubuntu, they should really have this as a standard inclusion on all installations.  New users especially will be put out by slow web-browsing when they try the system on a livecd or experimental installation.</description>
		<content:encoded><![CDATA[<p>Firefox was taking several seconds to resolve domain names on me in ubuntu 7.10, disabling IPV6 didn&#8217;t help but this method made a huge different.  I&#8217;m not sure if using a local DNS server isn&#8217;t just kludging around something else that&#8217;s misconfigured for the ISP DNS, but hey, it works!</p>
<p>I read a lot of complaints about poky web-browing with Firefox in ubuntu, they should really have this as a standard inclusion on all installations.  New users especially will be put out by slow web-browsing when they try the system on a livecd or experimental installation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shipwright</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-442</link>
		<dc:creator>Shipwright</dc:creator>
		<pubDate>Sat, 12 Jan 2008 19:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-442</guid>
		<description>It makes an enormous difference over satellite, where each request is a two second round trip.</description>
		<content:encoded><![CDATA[<p>It makes an enormous difference over satellite, where each request is a two second round trip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ric</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-441</link>
		<dc:creator>Ric</dc:creator>
		<pubDate>Sun, 16 Dec 2007 05:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-441</guid>
		<description>Thanks this worked great.. Some sites you visit will often call anywhere from 2 or 3 to 50 or 60 other sites. Ever bit helps.

First time - dig yahoo.com - Query time: 114 msec

Second Time - Same address - Query time: 4 msec</description>
		<content:encoded><![CDATA[<p>Thanks this worked great.. Some sites you visit will often call anywhere from 2 or 3 to 50 or 60 other sites. Ever bit helps.</p>
<p>First time - dig yahoo.com - Query time: 114 msec</p>
<p>Second Time - Same address - Query time: 4 msec</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jj</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-440</link>
		<dc:creator>jj</dc:creator>
		<pubDate>Sat, 08 Sep 2007 22:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-440</guid>
		<description>I would suggest you modify your tutorial as follows (especially for newbies like myself)

Change
   &quot;uncomment the following line (remove “#” in the beginning) in the file /etc/dnsmasq.conf&quot;

To
Open a text editor and type

   sudo gedit /etc/dnsmasq.conf

&quot;Add after &quot;listen-address=&quot; 127.0.0.1

At least in my case I couldn&#039;t find the referenced entry. All I found was &quot;listen-address=&quot; on line 73 of gedit of /etc/dnsmasq.conf

Same with all after &quot;Now edit&quot;

   sudo gedit /etc/dhcp3/dhclient.conf

Thank you for writing the tutorial I saw a dramatic improvement also.</description>
		<content:encoded><![CDATA[<p>I would suggest you modify your tutorial as follows (especially for newbies like myself)</p>
<p>Change<br />
   &#8220;uncomment the following line (remove “#” in the beginning) in the file /etc/dnsmasq.conf&#8221;</p>
<p>To<br />
Open a text editor and type</p>
<p>   sudo gedit /etc/dnsmasq.conf</p>
<p>&#8220;Add after &#8220;listen-address=&#8221; 127.0.0.1</p>
<p>At least in my case I couldn&#8217;t find the referenced entry. All I found was &#8220;listen-address=&#8221; on line 73 of gedit of /etc/dnsmasq.conf</p>
<p>Same with all after &#8220;Now edit&#8221;</p>
<p>   sudo gedit /etc/dhcp3/dhclient.conf</p>
<p>Thank you for writing the tutorial I saw a dramatic improvement also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-439</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 25 Jun 2007 23:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-439</guid>
		<description>How can I see the cache file contents? I realize this may save some time when visiting a web site, but most websites refer to ad networks and other addresses on the same page, so this cache may speed up a single website many times more than 36ms. By looking at the cache file I may see how many various places I have already been.

BTW, I just did this and my speed went from 15ms to 0ms.</description>
		<content:encoded><![CDATA[<p>How can I see the cache file contents? I realize this may save some time when visiting a web site, but most websites refer to ad networks and other addresses on the same page, so this cache may speed up a single website many times more than 36ms. By looking at the cache file I may see how many various places I have already been.</p>
<p>BTW, I just did this and my speed went from 15ms to 0ms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-438</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 23 Apr 2007 16:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-438</guid>
		<description>@Michael,

I have corrected now thanks for your correction</description>
		<content:encoded><![CDATA[<p>@Michael,</p>
<p>I have corrected now thanks for your correction</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael reed</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-437</link>
		<dc:creator>michael reed</dc:creator>
		<pubDate>Mon, 23 Apr 2007 13:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-437</guid>
		<description>Thanks for this tutorial. Easy to follow and I now have DNS caching enabled.

One /tiny/ correction though: there is an extra period at the end of
&quot;
sudo /etc/init.d/dnsmasq restart.
&quot;

Thanks again.</description>
		<content:encoded><![CDATA[<p>Thanks for this tutorial. Easy to follow and I now have DNS caching enabled.</p>
<p>One /tiny/ correction though: there is an extra period at the end of<br />
&#8221;<br />
sudo /etc/init.d/dnsmasq restart.<br />
&#8221;</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html/comment-page-1#comment-436</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 04 Jan 2007 20:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/local-dns-cache-for-faster-browsing-on-ubuntu-machine.html#comment-436</guid>
		<description>really now, a 36 ms savings ..
from the wikipedia ( http://en.wikipedia.org/wiki/1_E-2_s )
100 to 150 milliseconds; typical time for a human blink

you saved yourself a 1/3 of a blink</description>
		<content:encoded><![CDATA[<p>really now, a 36 ms savings ..<br />
from the wikipedia ( <a href="http://en.wikipedia.org/wiki/1_E-2_s" rel="nofollow">http://en.wikipedia.org/wiki/1_E-2_s</a> )<br />
100 to 150 milliseconds; typical time for a human blink</p>
<p>you saved yourself a 1/3 of a blink</p>
]]></content:encoded>
	</item>
</channel>
</rss>

