<?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>Windows Server HQ by Train Signal.com &#187; Forward Lookup Zone</title>
	<atom:link href="http://windowsserver.trainsignal.com/tag/forward-lookup-zone/feed" rel="self" type="application/rss+xml" />
	<link>http://windowsserver.trainsignal.com</link>
	<description>We are here to help you learn Windows Server!</description>
	<lastBuildDate>Wed, 21 Jul 2010 16:34:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows DNS Server 2008: Setup External Internet DNS Server</title>
		<link>http://windowsserver.trainsignal.com/windows-server-2008-dns-server</link>
		<comments>http://windowsserver.trainsignal.com/windows-server-2008-dns-server#comments</comments>
		<pubDate>Wed, 16 Jul 2008 15:00:13 +0000</pubDate>
		<dc:creator>Dave Lawlor</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[External DNS]]></category>
		<category><![CDATA[Forward Lookup Zone]]></category>

		<guid isPermaLink="false">http://www.trainsignaltraining.com/windows-server-2008-dns-server/2008-07-16/</guid>
		<description><![CDATA[Hopefully if you’re in the tech field you know that DNS is one of the main pillars of the Internet and what makes having those delightful friendly domain names (www.TrainSignalTraining.com) possible instead of having to memorize a long list of boring IPs (69.16.232.158).
For those of you that might need a refresher, the DNS service is [...]

<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/windows-server-2008-globalname-zone' rel='bookmark' title='Permanent Link: GlobalNames Zones and the Long Overdue Demise of WINS'>GlobalNames Zones and the Long Overdue Demise of WINS</a></li>
<li><a href='http://windowsserver.trainsignal.com/configure-bind-dns-on-windows-web-server-2008' rel='bookmark' title='Permanent Link: Configure BIND DNS on Windows Web Server 2008 &#8211; Part 2'>Configure BIND DNS on Windows Web Server 2008 &#8211; Part 2</a></li>
<li><a href='http://windowsserver.trainsignal.com/how-to-setup-a-remote-desktop-on-windows-vista' rel='bookmark' title='Permanent Link: Server 2008: How to Setup a Remote Desktop on Windows Vista'>Server 2008: How to Setup a Remote Desktop on Windows Vista</a></li>
</ul></h3>]]></description>
			<content:encoded><![CDATA[<p>Hopefully if you’re in the tech field you know that DNS is one of the main pillars of the Internet and what makes having those delightful friendly domain names (www.TrainSignalTraining.com) possible instead of having to memorize a long list of boring IPs (69.16.232.158).</p>
<p>For those of you that might need a refresher, the DNS service is the addressing book of the networking world, allowing the translation of human friendly names to IP addresses at its base level.</p>
<p>It also stores other types of records that helps in delivery of different types of information from one end of the Internet to the other.</p>
<h3>Why Have An External DNS Server?</h3>
<p>This is especially useful if you are running IIS and have a lot of sites and don’t want to use a 3rd party option for DNS. For example, at a client I worked with, they owned over 250 domain names and wanted to keep tight control over their DNS in case of server moves and other email considerations.</p>
<p>An external DNS server will also help limit the exposure of your network to security leaks in case the server is compromised.  If you connect the Internet facing server to the rest of your DNS servers you will have your internal network AD information stored on there.  Should this external facing server get hacked or compromised they would find quite a bit more information than just some publicly available resource records.</p>
<p><span id="more-511"></span></p>
<p>Once you have setup the external DNS servers you have your internal DNS servers with your private information forward requests to the external DNS server for clients needing name resolution to the outside world.</p>
<h3>Installing Windows DNS Server 2008</h3>
<p>The first thing we will have to do is setup the DNS Role on the server that we want to use.  Let&#8217;s walk through that first:</p>
<p><strong>NOTE: This walkthrough is for EXTERNAL DNS servers and will not include information on integrating with Active Directory or installing other components other than what is needed.</strong></p>
<p><strong>1.</strong> Open Server Manager and click on <strong>Roles</strong> in the left pane and then click on <strong>Add Roles</strong> in the center pane.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_01.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 1" title="Windows DNS Server 2008: Setup External Internet DNS Server - 1" align="middle" width="597" height="165" border="0" /></p>
<p><strong>2.</strong> Depending on whether you checked off to skip the <strong>Before You Begin</strong> page while installing another service, you will now see warning pages telling you to make sure you have strong security, static IP, and latest patches before adding roles to your server.</p>
<p>If you get this page, then just click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_02.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 2" title="Windows DNS Server 2008: Setup External Internet DNS Server - 2" align="middle" width="597" height="451" border="0" /></p>
<p><strong>3.</strong> Next is the <strong>Select Server Roles </strong>window, and we are going to go ahead and check <strong>DNS Server </strong>in the list of possible roles.</p>
<p>Now if you don’t have a Static IP Address assigned to your server you will get the warning:</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_03.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 3" title="Windows DNS Server 2008: Setup External Internet DNS Server - 3" align="middle" width="363" height="268" border="0" /></p>
<p>Either choose to ignore the warning and continue to install or go back and set a Static IP for the server.  Either way you come back to the <strong>Select Server Roles </strong>screen, you can now choose to click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_04.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 4" title="Windows DNS Server 2008: Setup External Internet DNS Server - 4" align="middle" width="597" height="450" border="0" /></p>
<p><strong>4.</strong> Next is the DNS Server information screen giving some links to understanding the DNS integration with AD and other information.</p>
<p>Of course since we are configuring an External DNS server we will click <strong>Next</strong> to continue.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_05.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 5" title="Windows DNS Server 2008: Setup External Internet DNS Server - 5" align="middle" width="597" height="451" border="0" /></p>
<p><strong>5.</strong> Confirm the Installation Selections by reviewing the list and then clicking <strong>Install</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_06.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 6" title="Windows DNS Server 2008: Setup External Internet DNS Server - 6" align="middle" width="597" height="454" border="0" /></p>
<p><strong>6.</strong> After a little while you should now see the <strong>Installation Results</strong> page, and hopefully see a <strong>Installation Succeeded</strong> message across from <strong>DNS Server</strong>, and then click <strong>Close</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_07.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 7" title="Windows DNS Server 2008: Setup External Internet DNS Server - 7" align="middle" width="597" height="454" border="0" /></p>
<p>That’s it!  You have now installed the DNS Role on a Windows Server 2008.  Let’s go to some configuration tasks now.</p>
<p><strong>Please note that when you install the DNS service the server will automatically open up port 53 TPC/UDP for DNS related traffic.</strong></p>
<h3>Configure Windows DNS Server 2008</h3>
<p>Ok, before we start configuring your server there are a few basics we should cover.</p>
<p>Remember I said basics, because I am not going to go beyond what is needed for an External DNS server and confuse the issue, but there are other options beyond what I am going to review here.</p>
<ul>
<li><strong>Forward Lookup Zone</strong> &#8211; A DNS Zone that does lookups for the domain name to IP address.  This is the most common form of zone that people will use.</li>
<p></p>
<li><strong>Reverse Lookup Zone</strong> – This DNS Zone is the exact opposite of the Forward Lookup Zone and allows an IP to be assigned to a domain/hostname.<br />
<br />
<strong>Note: Most external Reverse Lookup Zones will not work unless you own your block of IPs.  The ISP/WebHost service that you use will more than likely own the reverse IP records, and you will have to request them to make any changes you require.</strong></li>
</ul>
<p>If you have gone through my earlier IIS articles you know that I have used a test domain called logfiletest.com.  Let’s go ahead and create a forward lookup zone for that domain.</p>
<p><strong>1.</strong> Open DNS Manager</p>
<p><strong>2.</strong> Since I am local to the server it will automatically have itself in the DNS Manager.  Expand out the server then right click on <strong>Forward Lookup Zones</strong>, and then left click on <strong>New Zone</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_08.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 8" title="Windows DNS Server 2008: Setup External Internet DNS Server - 8" align="middle" width="597" height="417" border="0" /></p>
<p><strong>3. Welcome to the New Zone Wizard</strong>, should be the next window you see.  Go ahead and click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_09.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 9" title="Windows DNS Server 2008: Setup External Internet DNS Server - 9" align="middle" width="502" height="384" border="0" /></p>
<p><strong>4.</strong> Next we are going to pick a zone type.  Since this is going to be the primary DNS server for logfiletest.com choose <strong>Primary Zone</strong>, and then click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_10.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 10" title="Windows DNS Server 2008: Setup External Internet DNS Server - 10" align="middle" width="501" height="384" border="0" /></p>
<p><strong>5.</strong> Now we are going to enter the <strong>Zone Name</strong>, in this case it is <strong>logfiletest.com</strong>. After entering the name of your zone go ahead and click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_11.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 11" title="Windows DNS Server 2008: Setup External Internet DNS Server - 11" align="middle" width="501" height="384" border="0" /></p>
<p><strong>6.</strong> The next window is about the zone file.</p>
<p>Non-Active Directory zones are kept in a flat text file in %SystemRoot%\system32\dns on the server.  You have the option of creating a new one or using one that was copied over from a different server.</p>
<p>In our case we will use the default naming and create a new one, by clicking <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_12.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 12" title="Windows DNS Server 2008: Setup External Internet DNS Server - 12" align="middle" width="501" height="385" border="0" /></p>
<p><strong>7.</strong> Dynamic Updates allow client computers to create and update their own resource records. For external servers this would be bad, so we will go with the <strong>Do not allow dynamic updates </strong>radio button and then click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_13.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 13" title="Windows DNS Server 2008: Setup External Internet DNS Server - 13" align="middle" width="503" height="384" border="0" /></p>
<p><strong>8.</strong> <strong>Completing the New Zone Wizard </strong>will be the next window and it has a review of the settings you specified during the wizard.</p>
<p>Go ahead and click on <strong>Finish</strong> to complete the setup of the Forward Lookup Zone for logfiletest.com.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_14.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 14" title="Windows DNS Server 2008: Setup External Internet DNS Server - 14" align="middle" width="499" height="384" border="0" /></p>
<p><strong>9.</strong> At the completion you will now return back to the DNS Manager, and you can see <strong>logfiletest.com</strong> is now listed under the <strong>Forward Lookup Zone</strong> folder.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_15.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 15" title="Windows DNS Server 2008: Setup External Internet DNS Server - 15" align="middle" width="597" height="421" border="0" /></p>
<p>Congratulations on your setup!  Though the domain is setup it currently has no resource records in it to resolve! Let’s fix that and give this server a purpose.</p>
<p>There are different types of resource records, in this case we are going to create a Host (A) record, which maps a name to an IP address.</p>
<h3>Create a Host (A) Record on Server 2008 DNS</h3>
<p>The most basic and simple host record is going to be for a website, so let&#8217;s go ahead and map the www of the domain name to the IP that the website uses.</p>
<p>For our example, the IP of logfiletest.com is <strong>192.168.11.5</strong>.</p>
<p><strong>1.</strong> Open DNS Manager</p>
<p><strong>2.</strong> Choose the <strong>Forward Lookup Zone</strong> you want to work with, in this case it is <strong>logfiletest.com </strong>and right click on it.  Select <strong>New Host (A or AAAA)</strong> and left click on it.</p>
<p><strong>Note: Don’t be confused by the AAAA, as that is used for IPv6 records.</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_16.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 16" title="Windows DNS Server 2008: Setup External Internet DNS Server - 16" align="middle" width="596" height="415" border="0" /></p>
<p><strong>3.</strong> The new host window will now popup allowing you to enter the name (if blank it will use the parents domain name), which we will type in www, and fill in the IP address we want logfiletest.com to resolve to, which is 192.168.11.5.</p>
<p>If we choose to we can associate a PTR record with this, which would create the reverse lookup.  Not necessary in this case since we don’t control the IPs.</p>
<p>Click <strong>Add Host</strong> when done.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_18.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 17" title="Windows DNS Server 2008: Setup External Internet DNS Server - 17" align="middle" width="345" height="346" border="0" /></p>
<p><strong>4.</strong> You will get a message that confirms the creation of the Host Record, so click <strong>OK</strong>.</p>
<p><strong>5.</strong> Now in the DNS Manager you will see your A resource record for <strong>www</strong> mapped to the correct IP.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_19.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 18" title="Windows DNS Server 2008: Setup External Internet DNS Server - 18" align="middle" width="595" height="416" border="0" /></p>
<p><strong>6.</strong> Now let&#8217;s do a quick test with NSLookup and you will see that the name resolves correctly.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_DNS/externaldns_20.png" alt="Windows DNS Server 2008: Setup External Internet DNS Server - 19" title="Windows DNS Server 2008: Setup External Internet DNS Server - 19" align="middle" width="595" height="299" border="0" /></p>
<h3>Summary for Creating External DNS Server</h3>
<p>So we have walked through the following:</p>
<ul>
<li>Installing DNS Role on a Windows Server 2008</li>
<li>Created a Forward Lookup Zone</li>
<li>Created a Host (A) Resource Record</li>
</ul>
<p>Again this is just the basics for getting you started in running your own External DNS Server.</p>
<p>In the future we will discuss the different types of resource records and how they are used, how to make use of features such as round robin DNS and setup redundancies to keep your sites resolving correctly.</p>


<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/windows-server-2008-globalname-zone' rel='bookmark' title='Permanent Link: GlobalNames Zones and the Long Overdue Demise of WINS'>GlobalNames Zones and the Long Overdue Demise of WINS</a></li>
<li><a href='http://windowsserver.trainsignal.com/configure-bind-dns-on-windows-web-server-2008' rel='bookmark' title='Permanent Link: Configure BIND DNS on Windows Web Server 2008 &#8211; Part 2'>Configure BIND DNS on Windows Web Server 2008 &#8211; Part 2</a></li>
<li><a href='http://windowsserver.trainsignal.com/how-to-setup-a-remote-desktop-on-windows-vista' rel='bookmark' title='Permanent Link: Server 2008: How to Setup a Remote Desktop on Windows Vista'>Server 2008: How to Setup a Remote Desktop on Windows Vista</a></li>
</ul></h3>]]></content:encoded>
			<wfw:commentRss>http://windowsserver.trainsignal.com/windows-server-2008-dns-server/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>
