<?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 change the DNS servers in Ubuntu</title>
	<atom:link href="http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/</link>
	<description>Almost weekend!</description>
	<lastBuildDate>Thu, 02 Feb 2012 14:08:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mimor</title>
		<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/comment-page-1/#comment-1408</link>
		<dc:creator>Mimor</dc:creator>
		<pubDate>Mon, 28 Mar 2011 12:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://mimor.be/?p=488#comment-1408</guid>
		<description>And one year later I see this post... strange... Powered by Disqus I guess.
But here you go:
http://www.liberiangeek.net/2010/12/change-dns-server-address-ubuntu-10-0410-10-maverick-meerkat/</description>
		<content:encoded><![CDATA[<p>And one year later I see this post&#8230; strange&#8230; Powered by Disqus I guess.<br />
But here you go:<br />
<a href="http://www.liberiangeek.net/2010/12/change-dns-server-address-ubuntu-10-0410-10-maverick-meerkat/" rel="nofollow">http://www.liberiangeek.net/2010/12/change-dns-server-address-ubuntu-10-0410-10-maverick-meerkat/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mimor</title>
		<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/comment-page-1/#comment-1407</link>
		<dc:creator>Mimor</dc:creator>
		<pubDate>Mon, 28 Mar 2011 11:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://mimor.be/?p=488#comment-1407</guid>
		<description>Are you using a live environement?</description>
		<content:encoded><![CDATA[<p>Are you using a live environement?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: write</title>
		<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/comment-page-1/#comment-1406</link>
		<dc:creator>write</dc:creator>
		<pubDate>Mon, 28 Mar 2011 06:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://mimor.be/?p=488#comment-1406</guid>
		<description>is the configuration permanently?
because after restarting my pc, the configuration in resolv.conf always return to configuration in beginning. and i am always set it back.
how to set for permanently?</description>
		<content:encoded><![CDATA[<p>is the configuration permanently?<br />
because after restarting my pc, the configuration in resolv.conf always return to configuration in beginning. and i am always set it back.<br />
how to set for permanently?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mimor</title>
		<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/comment-page-1/#comment-706</link>
		<dc:creator>Mimor</dc:creator>
		<pubDate>Sun, 06 Dec 2009 12:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://mimor.be/?p=488#comment-706</guid>
		<description>Luis,

the &lt;strong&gt;/etc/host.conf&lt;/strong&gt; file is not ment to place the nameservers.
This file specifies &lt;strong&gt;how&lt;/strong&gt; the nameresolving should happen and not &lt;strong&gt;where&lt;/strong&gt; the servers are located.
The keywords are order, trim, multi, nospoof, spoof and reorder.
Mine, for example looks like this:


&lt;code&gt;# The &quot;order&quot; line is only used by old versions of the C library.
order hosts,bind
multi on
&lt;/code&gt;

As  Bashibk   pointed out,
you should edit the &lt;strong&gt;/etc/resolv.conf&lt;/strong&gt; file.

This is mine:
&lt;code&gt;# Generated by NetworkManager
domain morraye.local
search morraye.local
nameserver 192.168.1.1
nameserver 208.67.220.220&lt;/code&gt;

Note that the &lt;strong&gt;domain&lt;/strong&gt; and &lt;strong&gt;search&lt;/strong&gt; properties point out to morraye.local!
This is not what you should use.
It&#039;s  just my home domain (not the .local) that I&#039;ve set up.
The primary nameserver is pointing to 192.168.1.1 as this is my router that is caching the resolved DNS query&#039;s.
This is (for me) the quickest way to resolve, thus the quickest way to surf the internet ;)
The second nameserver is one of the &lt;a href=&quot;https://www.opendns.com/&quot; rel=&quot;nofollow&quot;&gt;opendsn&lt;/a&gt; &lt;strong&gt;dns servers&lt;/strong&gt;, but I&#039;m going to change that soon.

For more information about the &lt;strong&gt;/etc/resolv.conf&lt;/strong&gt; file and all of its options, you can check the &lt;a href=&quot;http://linux.die.net/man/5/resolv.conf&quot; rel=&quot;nofollow&quot;&gt;man-page on linux.die.net&lt;/a&gt; or the one by SUN found &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5174/resolv.conf-4?a=view&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.
</description>
		<content:encoded><![CDATA[<p>Luis,</p>
<p>the <strong>/etc/host.conf</strong> file is not ment to place the nameservers.<br />
This file specifies <strong>how</strong> the nameresolving should happen and not <strong>where</strong> the servers are located.<br />
The keywords are order, trim, multi, nospoof, spoof and reorder.<br />
Mine, for example looks like this:</p>
<p><code># The "order" line is only used by old versions of the C library.<br />
order hosts,bind<br />
multi on<br />
</code></p>
<p>As  Bashibk   pointed out,<br />
you should edit the <strong>/etc/resolv.conf</strong> file.</p>
<p>This is mine:<br />
<code># Generated by NetworkManager<br />
domain morraye.local<br />
search morraye.local<br />
nameserver 192.168.1.1<br />
nameserver 208.67.220.220</code></p>
<p>Note that the <strong>domain</strong> and <strong>search</strong> properties point out to morraye.local!<br />
This is not what you should use.<br />
It&#8217;s  just my home domain (not the .local) that I&#8217;ve set up.<br />
The primary nameserver is pointing to 192.168.1.1 as this is my router that is caching the resolved DNS query&#8217;s.<br />
This is (for me) the quickest way to resolve, thus the quickest way to surf the internet <img src='http://mimor.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
The second nameserver is one of the <a href="https://www.opendns.com/" rel="nofollow">opendsn</a> <strong>dns servers</strong>, but I&#8217;m going to change that soon.</p>
<p>For more information about the <strong>/etc/resolv.conf</strong> file and all of its options, you can check the <a href="http://linux.die.net/man/5/resolv.conf" rel="nofollow">man-page on linux.die.net</a> or the one by SUN found <a href="http://docs.sun.com/app/docs/doc/816-5174/resolv.conf-4?a=view" rel="nofollow">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bashibk</title>
		<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/comment-page-1/#comment-695</link>
		<dc:creator>Bashibk</dc:creator>
		<pubDate>Fri, 04 Dec 2009 17:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://mimor.be/?p=488#comment-695</guid>
		<description>Luis,

 You edited the wrong file, I think. The nameserver stuff should go in &quot;/etc/resolv.conf&quot;. Not in the host.conf...

X</description>
		<content:encoded><![CDATA[<p>Luis,</p>
<p> You edited the wrong file, I think. The nameserver stuff should go in &#8220;/etc/resolv.conf&#8221;. Not in the host.conf&#8230;</p>
<p>X</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luís</title>
		<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/comment-page-1/#comment-676</link>
		<dc:creator>Luís</dc:creator>
		<pubDate>Thu, 26 Nov 2009 11:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://mimor.be/?p=488#comment-676</guid>
		<description>Hi,

I used http://www.dnsserverlist.org/ to get a list of dns servers. Then I edited the host.conf file adding the lines:

nameserver 216.52.1.33
nameserver 128.107.241.184

When I try to connect to the internet I get the error:

/etc/host.conf: line 4: bad command `nameserver 216.52.1.33&#039;
/etc/host.conf: line 5: bad command `nameserver 128.107.241.184&#039;

I&#039;m on Ubuntu 9.10</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I used <a href="http://www.dnsserverlist.org/" rel="nofollow">http://www.dnsserverlist.org/</a> to get a list of dns servers. Then I edited the host.conf file adding the lines:</p>
<p>nameserver 216.52.1.33<br />
nameserver 128.107.241.184</p>
<p>When I try to connect to the internet I get the error:</p>
<p>/etc/host.conf: line 4: bad command `nameserver 216.52.1.33&#8242;<br />
/etc/host.conf: line 5: bad command `nameserver 128.107.241.184&#8242;</p>
<p>I&#8217;m on Ubuntu 9.10</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mimor</title>
		<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/comment-page-1/#comment-671</link>
		<dc:creator>Mimor</dc:creator>
		<pubDate>Tue, 24 Nov 2009 16:13:30 +0000</pubDate>
		<guid isPermaLink="false">http://mimor.be/?p=488#comment-671</guid>
		<description>The reason why most of the Linux related help you&#039;ll find googling is terminal based, is because it&#039;s become somehow a trend.
It&#039;s not only handy to know where to fix stuff when you broke your system and/or don&#039;t have a gui available.

But most common things can be done trough the GUI, as Serge mentioned.</description>
		<content:encoded><![CDATA[<p>The reason why most of the Linux related help you&#8217;ll find googling is terminal based, is because it&#8217;s become somehow a trend.<br />
It&#8217;s not only handy to know where to fix stuff when you broke your system and/or don&#8217;t have a gui available.</p>
<p>But most common things can be done trough the GUI, as Serge mentioned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge van Ginderachter</title>
		<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/comment-page-1/#comment-669</link>
		<dc:creator>Serge van Ginderachter</dc:creator>
		<pubDate>Tue, 24 Nov 2009 08:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://mimor.be/?p=488#comment-669</guid>
		<description>Sorry, I didn&#039;t know I was supposed to help you.

You forget that &quot;Linux&quot; is much more than only a Desktop oriented system. If you google on this subjkect, you obviously will find much more references on manually changing dns, or on changing dns on other systems different tnan the one at your hand. 

Network-manager, which is the newest tool for managing network (and dns) on a Desktop nowadays, also is pretty new, and lotys of references on changing dns are not up to date or just describing something different than.

Now, to get back to your problem, as said, yes, it can be difficult to find the right description when googling it, for aforementioned reasons. For those same reasons, this original blog post was giving bad information by the way. Yes that is a problem with Linux, things are not black and white. Linux gives you more control, but that comes at a price: it&#039;s harder to master. You certainly have a point there, and I&#039;m the first to say Desktop Linux has a stability problem (on all sorts of levels)

But looking at my own 9.10 desktop right now, I go to the menu, System, Preferences, Network COnnections, and I get the GUI you failed to find. There&#039;s also an icon in the notification area, and when plugging your ethernet cable, you see  that icon move. Clicking on that icon cab get you to the same GUI. That GUI let&#039;s you modify DNS.

You can hardly say this is extremely hard to find, can you? 

(I&#039;d even say that this GUI is many time easier than the network centre in Windows since Vista, but that&#039;s off course subjective.)</description>
		<content:encoded><![CDATA[<p>Sorry, I didn&#8217;t know I was supposed to help you.</p>
<p>You forget that &#8220;Linux&#8221; is much more than only a Desktop oriented system. If you google on this subjkect, you obviously will find much more references on manually changing dns, or on changing dns on other systems different tnan the one at your hand. </p>
<p>Network-manager, which is the newest tool for managing network (and dns) on a Desktop nowadays, also is pretty new, and lotys of references on changing dns are not up to date or just describing something different than.</p>
<p>Now, to get back to your problem, as said, yes, it can be difficult to find the right description when googling it, for aforementioned reasons. For those same reasons, this original blog post was giving bad information by the way. Yes that is a problem with Linux, things are not black and white. Linux gives you more control, but that comes at a price: it&#8217;s harder to master. You certainly have a point there, and I&#8217;m the first to say Desktop Linux has a stability problem (on all sorts of levels)</p>
<p>But looking at my own 9.10 desktop right now, I go to the menu, System, Preferences, Network COnnections, and I get the GUI you failed to find. There&#8217;s also an icon in the notification area, and when plugging your ethernet cable, you see  that icon move. Clicking on that icon cab get you to the same GUI. That GUI let&#8217;s you modify DNS.</p>
<p>You can hardly say this is extremely hard to find, can you? </p>
<p>(I&#8217;d even say that this GUI is many time easier than the network centre in Windows since Vista, but that&#8217;s off course subjective.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterC</title>
		<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/comment-page-1/#comment-666</link>
		<dc:creator>PeterC</dc:creator>
		<pubDate>Tue, 24 Nov 2009 02:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://mimor.be/?p=488#comment-666</guid>
		<description>What an unhelpful post. 

By all means be critical of my comment on the difficulty of changing DNS in Ubuntu 9.10. But in doing so, say how to do it. So far as I can tell, there is no GUI in 9.10 for changing DNS, and I have changed DNS frequently in Windows and other Linux OS / earlier Ubuntu OS.

Google the subject. Look at the results. Nowhere, that I can see, is there reference to a GUI: rather, there are all sorts of contortions in obscure parts of the OS config and other files.

My point is that to a non-expert, the DNS cannot readily and simply be changed.</description>
		<content:encoded><![CDATA[<p>What an unhelpful post. </p>
<p>By all means be critical of my comment on the difficulty of changing DNS in Ubuntu 9.10. But in doing so, say how to do it. So far as I can tell, there is no GUI in 9.10 for changing DNS, and I have changed DNS frequently in Windows and other Linux OS / earlier Ubuntu OS.</p>
<p>Google the subject. Look at the results. Nowhere, that I can see, is there reference to a GUI: rather, there are all sorts of contortions in obscure parts of the OS config and other files.</p>
<p>My point is that to a non-expert, the DNS cannot readily and simply be changed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge van Ginderachter</title>
		<link>http://mimor.be/2009/how-to-change-the-dns-servers-in-ubuntu/comment-page-1/#comment-662</link>
		<dc:creator>Serge van Ginderachter</dc:creator>
		<pubDate>Sat, 21 Nov 2009 09:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://mimor.be/?p=488#comment-662</guid>
		<description>@PeterC You should better read the post and the comments, and unless you grasp the whole contet, don&#039;t jump to such a wrong conclusion.

The original post and comments describes how to *manually* change dns settings, under the hood, or on a server. The original mistake was that on a desktop environment, you have a proper GUI tool to do that, just like you would on Windows.

Also, it&#039;s not because something looks harder to do, that automatically means it is a less good way. User friendliness and intuitivity are subjective matters.

Linux let&#039;s you have more control when you want to, and that is often the primary reason why people like it.</description>
		<content:encoded><![CDATA[<p>@PeterC You should better read the post and the comments, and unless you grasp the whole contet, don&#8217;t jump to such a wrong conclusion.</p>
<p>The original post and comments describes how to *manually* change dns settings, under the hood, or on a server. The original mistake was that on a desktop environment, you have a proper GUI tool to do that, just like you would on Windows.</p>
<p>Also, it&#8217;s not because something looks harder to do, that automatically means it is a less good way. User friendliness and intuitivity are subjective matters.</p>
<p>Linux let&#8217;s you have more control when you want to, and that is often the primary reason why people like it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

