<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Brett Hutley's Blog &#187; Linux</title>
	<atom:link href="http://www.bretthutley.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bretthutley.com</link>
	<description>Home on the Digital Range</description>
	<lastBuildDate>Wed, 28 Jul 2010 21:55:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>dhclient and resolv.conf</title>
		<link>http://www.bretthutley.com/2009/09/15/dhclient-and-resolv-conf/</link>
		<comments>http://www.bretthutley.com/2009/09/15/dhclient-and-resolv-conf/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:18:21 +0000</pubDate>
		<dc:creator>brett</dc:creator>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://www.bretthutley.com/?p=208</guid>
		<description><![CDATA[For some reason, when I get onto a client's network and run /sbin/dhclient on my hacked-together-linux notebook, dhclient gets an IP address via DHCP, but doesn't update my /etc/resolv.conf with the local name servers, so names don't get resolved using DNS. I haven't figured out a fix for this yet, but a temporary work-around is [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>For some reason, when I get onto a client's network and run /sbin/dhclient on my hacked-together-linux notebook, dhclient gets an IP address via DHCP, but doesn't update my /etc/resolv.conf with the local name servers, so names don't get resolved using DNS.</p>
<p>I haven't figured out a fix for this yet, but a temporary work-around is to have a look at the lease in the /var/state/dhcp/dhclient.leases file. You should see a line like "option domain-name-servers 192.168.94.49;". Just put that IP address in the /etc/resolv.conf file (ie "nameserver 192.168.94.49").</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.bretthutley.com/2009/09/15/dhclient-and-resolv-conf/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
