<?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>Julian Rex &#187; bind9</title>
	<atom:link href="http://rexy.co.uk/tag/bind9/feed/" rel="self" type="application/rss+xml" />
	<link>http://rexy.co.uk</link>
	<description>iPhone Game Developer</description>
	<lastBuildDate>Thu, 10 Dec 2009 04:31:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>bind9 DNS on Ubuntu 6.06</title>
		<link>http://rexy.co.uk/2006/12/bind9-dns-on-ubuntu-606/</link>
		<comments>http://rexy.co.uk/2006/12/bind9-dns-on-ubuntu-606/#comments</comments>
		<pubDate>Sun, 17 Dec 2006 18:27:02 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[bind9]]></category>
		<category><![CDATA[dns]]></category>

		<guid isPermaLink="false">http://rexy.co.uk/wordpress/?p=16</guid>
		<description><![CDATA[Setting up a DNS proved easier than I&#8217;d first thought. I did spend a long time trying things out, which was pretty frustrating.
In the end, I followed this excellent step-by-step guide. What I would say is follow the steps exactly, make sure it&#8217;s working, then go back and amend it for your network and situation.
These are [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up a DNS proved easier than I&#8217;d first thought. I did spend a long time trying things out, which was pretty frustrating.</p>
<p>In the end, I followed <a href="http://www.linux.com/howtos/DNS-HOWTO-3.shtml">this excellent step-by-step guide</a>. What I would say is follow the steps exactly, make sure it&#8217;s working, then go back and amend it for your network and situation.</p>
<p>These are the other sites I referred to.</p>
<ul>
<li><a href="http://www.aboutdebian.com/dns.htm">http://www.aboutdebian.com/dns.htm</a> - good guide, but following the example didn&#8217;t work.</li>
<li><a href="http://www.madboa.com/geek/soho-bind/">http://www.madboa.com/geek/soho-bind/</a>.</li>
<li><a href="http://www.tldp.org/HOWTO/DNS-HOWTO.html">http://www.tldp.org/HOWTO/DNS-HOWTO.html</a></li>
</ul>
<p>I use the DNS primarily to access machines on my LAN by name, forwarding requests to work machines to the VPN&#8217;s DNS. I&#8217;m hoping that I also see a performance improvement due to cached responses. I probably could have used <a href="http://thekelleys.org.uk/dnsmasq/doc.html">dnsmasq</a>, but I wanted to understand how bind9 worked.</p>
<p>A couple of gotchas;</p>
<ul>
<li>Make sure the format of the zone files is correct; I had excluded the hostmaster email address, which made everything fail horribly.</li>
<li>Check your /etc/hosts and /etc/hostname files match your DNS setup. I didn&#8217;t; ping returned some very strange results.</li>
</ul>
<p>UPDATE: After a couple of reboots it was clear something was wrong. The linux box itself wasn&#8217;t able to resolve names. Looking in /etc/resolv.conf showed that 127.0.0.1 i.e. itself wasn&#8217;t listed; Some process was rewriting it.</p>
<p>I then remembered that the linux box is set up to get its IP by DHCP (always the same as the router matches the MAC address). You need to change the dhcp client settings &#8211; take a look in /etc/dhcp3/dhclient.conf, and uncomment the line: <code>#prepend domain-name-servers 127.0.0.1</code></p>
]]></content:encoded>
			<wfw:commentRss>http://rexy.co.uk/2006/12/bind9-dns-on-ubuntu-606/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
