<?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: DNS/BIND resource record: PTR reverse lookup record</title>
	<atom:link href="http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sun, 22 Nov 2009 00:56:44 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: aaronasjones</title>
		<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/comment-page-1/#comment-9450</link>
		<dc:creator>aaronasjones</dc:creator>
		<pubDate>Sat, 14 Mar 2009 13:22:29 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-9450</guid>
		<description>Thank you for sharing this information.&lt;br&gt;&lt;a href=&quot;http://www.reverseaccesslivedoor.net&quot; rel=&quot;nofollow&quot;&gt;Reverse Access Livedoor&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Thank you for sharing this information.<br /><a href="http://www.reverseaccesslivedoor.net" rel="nofollow">Reverse Access Livedoor</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Douglassshields</title>
		<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/comment-page-1/#comment-9313</link>
		<dc:creator>Douglassshields</dc:creator>
		<pubDate>Tue, 10 Mar 2009 19:50:19 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-9313</guid>
		<description>Very nice tips. Thanks for sharing!&lt;br&gt;&lt;a href=&quot;http://www.reverseaccesslivedoor.com&quot; rel=&quot;nofollow&quot;&gt;Reverse Access Livedoor&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Very nice tips. Thanks for sharing!<br /><a href="http://www.reverseaccesslivedoor.com" rel="nofollow">Reverse Access Livedoor</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Douglassshields</title>
		<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/comment-page-1/#comment-9312</link>
		<dc:creator>Douglassshields</dc:creator>
		<pubDate>Tue, 10 Mar 2009 19:49:35 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-9312</guid>
		<description>Very nice tips. Thanks for sharing!&lt;br&gt;&lt;a href=&quot;http://www.reverseaccesslivedoor.com&quot; rel=&quot;nofollow&quot;&gt;Reverse Access Livedoor&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Very nice tips. Thanks for sharing!<br /><a href="http://www.reverseaccesslivedoor.com" rel="nofollow">Reverse Access Livedoor</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Cure</title>
		<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/comment-page-1/#comment-903</link>
		<dc:creator>Aaron Cure</dc:creator>
		<pubDate>Fri, 22 Oct 2004 10:25:35 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-903</guid>
		<description>the easiest way to do this in the virtual hosts is:

&lt;VirtualHost 11.22.33.44&gt;

ServerName www.testdomain.com
ServerAlias testdomain.com *.testdomain.com

these directives allow the virtual host to respond for www.testdomain.com, as well as testdomain.com and foo.testdomain.com, etc.</description>
		<content:encoded><![CDATA[<p>the easiest way to do this in the virtual hosts is:</p>
<p>&lt;VirtualHost 11.22.33.44&gt;</p>
<p>ServerName <a href="http://www.testdomain.com" rel="nofollow">http://www.testdomain.com</a><br />
ServerAlias testdomain.com *.testdomain.com</p>
<p>these directives allow the virtual host to respond for <a href="http://www.testdomain.com" rel="nofollow">http://www.testdomain.com</a>, as well as testdomain.com and foo.testdomain.com, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qmchenry</title>
		<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/comment-page-1/#comment-682</link>
		<dc:creator>qmchenry</dc:creator>
		<pubDate>Thu, 16 Sep 2004 23:08:22 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-682</guid>
		<description>The DNS side of this situation is straightforward.  You need to have an A record for both www.foo.com and foo.com that point to the same address.  The PTR records are not necessary from the Apache perspective, but are a good idea.  

The Apache side can be more complicated in that there are several ways to accomplish what you are doing.  Are you hosting other domains on this server or just one?  If just one, you shouldn&#039;t have to worry about virtual hosts.  Givce us some more detail about what you are trying to do and we&#039;ll try to help.</description>
		<content:encoded><![CDATA[<p>The DNS side of this situation is straightforward.  You need to have an A record for both <a href="http://www.foo.com" rel="nofollow">http://www.foo.com</a> and foo.com that point to the same address.  The PTR records are not necessary from the Apache perspective, but are a good idea.  </p>
<p>The Apache side can be more complicated in that there are several ways to accomplish what you are doing.  Are you hosting other domains on this server or just one?  If just one, you shouldn&#8217;t have to worry about virtual hosts.  Givce us some more detail about what you are trying to do and we&#8217;ll try to help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guest</title>
		<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/comment-page-1/#comment-671</link>
		<dc:creator>guest</dc:creator>
		<pubDate>Wed, 15 Sep 2004 11:03:20 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-671</guid>
		<description>On a similar note, I have been trying to get a virtual domain to resolve both as www.foo.com and foo.com when served by apache. The virtual www.foo.com works fine but I have been unable to make correct settings in the zone file or in apache virtuals so that foo.com will point to the same site. 

Is this possible with a virtual domain and are reverse lookups the way to approach this?</description>
		<content:encoded><![CDATA[<p>On a similar note, I have been trying to get a virtual domain to resolve both as <a href="http://www.foo.com" rel="nofollow">http://www.foo.com</a> and foo.com when served by apache. The virtual <a href="http://www.foo.com" rel="nofollow">http://www.foo.com</a> works fine but I have been unable to make correct settings in the zone file or in apache virtuals so that foo.com will point to the same site. </p>
<p>Is this possible with a virtual domain and are reverse lookups the way to approach this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qmchenry</title>
		<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/comment-page-1/#comment-364</link>
		<dc:creator>qmchenry</dc:creator>
		<pubDate>Wed, 11 Aug 2004 07:52:54 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-364</guid>
		<description>My understanding of Sendmail&#039;s concern for looking up reverse records is just to make sure the sender&#039;s IP address does translate into a hostname by DNS.  Beyond that, it can&#039;t care what the answer is.  You are exactly right in thinking this because many mail servers are responsible for multple domains.

While you can have multiple PTR records for an IP address, the behavior for this is not what you would probably desire.  The hostnames resolved for the IP address will be served in a round-robin pattern, so subsequent hits on that IP address will probably yield different answers.  

This may be a desirable condition when doing forward lookups in the case when you have multiple servers at different IP addresses that will answer to the same host and domain name (like multiple web servers).  The round robin responses will provide a crude sort of load balancing.

If you are getting some specific errors, post them in a reply and we&#039;ll take a look at them.</description>
		<content:encoded><![CDATA[<p>My understanding of Sendmail&#8217;s concern for looking up reverse records is just to make sure the sender&#8217;s IP address does translate into a hostname by DNS.  Beyond that, it can&#8217;t care what the answer is.  You are exactly right in thinking this because many mail servers are responsible for multple domains.</p>
<p>While you can have multiple PTR records for an IP address, the behavior for this is not what you would probably desire.  The hostnames resolved for the IP address will be served in a round-robin pattern, so subsequent hits on that IP address will probably yield different answers.  </p>
<p>This may be a desirable condition when doing forward lookups in the case when you have multiple servers at different IP addresses that will answer to the same host and domain name (like multiple web servers).  The round robin responses will provide a crude sort of load balancing.</p>
<p>If you are getting some specific errors, post them in a reply and we&#8217;ll take a look at them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/comment-page-1/#comment-363</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 10 Aug 2004 21:34:53 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-363</guid>
		<description>Apparently certain email servers use reverse DNS to check that email actually is coming from where it &quot;appears&quot; to come from. How does BIND handle the virtual hosts case where multiple domain names share a common IP address? ie., can it map from one IP address to the correct domain name or can you only ever map 1 IP address to a single domain name?</description>
		<content:encoded><![CDATA[<p>Apparently certain email servers use reverse DNS to check that email actually is coming from where it &#8220;appears&#8221; to come from. How does BIND handle the virtual hosts case where multiple domain names share a common IP address? ie., can it map from one IP address to the correct domain name or can you only ever map 1 IP address to a single domain name?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qmchenry</title>
		<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/comment-page-1/#comment-91</link>
		<dc:creator>qmchenry</dc:creator>
		<pubDate>Sat, 07 Feb 2004 16:29:58 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-91</guid>
		<description>Actually, you led me to find a typo in this recipe that I&#039;ve now fixed.  The goal was to show the resource record (the line in the zone file) for a host with an ip address 192.168.5.10 (it was .100, and that was confusing).  So the 10 at the beginning of that line refers to the .10 at the end of 192.168.5.10.  The zone file corresponds to the 192.168.5 subnet, so this is the subnet assumed if we only use 10.  It would be the same (but contrary to laziness) to start that line with 10.5.168.192.in-addr.arpa. (the trailing period is critical).  It&#039;s important to realize that a reverse-lookup zone file is not different than a forward-lookup zone file, it just contains PTR records instead of A records.

DNS in general and BIND specifically are very confusing when first starting out.  If you are going to be responsible for DNS, I highly recommend the book &lt;a href=&quot;http://www.amazon.com/exec/obidos/ASIN/0596001584/techrecipes-20&quot;&gt;DNS and BIND, 4th Edition&lt;/a&gt;, also known as the Cricket book.  This book provides a wonderful introduction for a beginner and a powerful reference for an old-timer.</description>
		<content:encoded><![CDATA[<p>Actually, you led me to find a typo in this recipe that I&#8217;ve now fixed.  The goal was to show the resource record (the line in the zone file) for a host with an ip address 192.168.5.10 (it was .100, and that was confusing).  So the 10 at the beginning of that line refers to the .10 at the end of 192.168.5.10.  The zone file corresponds to the 192.168.5 subnet, so this is the subnet assumed if we only use 10.  It would be the same (but contrary to laziness) to start that line with 10.5.168.192.in-addr.arpa. (the trailing period is critical).  It&#8217;s important to realize that a reverse-lookup zone file is not different than a forward-lookup zone file, it just contains PTR records instead of A records.</p>
<p>DNS in general and BIND specifically are very confusing when first starting out.  If you are going to be responsible for DNS, I highly recommend the book <a href="http://www.amazon.com/exec/obidos/ASIN/0596001584/techrecipes-20">DNS and BIND, 4th Edition</a>, also known as the Cricket book.  This book provides a wonderful introduction for a beginner and a powerful reference for an old-timer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/307/dnsbind-resource-record-ptr-reverse-lookup-record/comment-page-1/#comment-90</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 07 Feb 2004 13:00:03 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-90</guid>
		<description>The directions talk about the zone file, the origin, the host and the domain, but they don&#039;t mention what the &#039;10&#039; is for in the left most side of the line.  ??  Does it have something to do with the address or the zone file or the origin?  Is the relation described on another page somewhere?  Since this is still new for me, I&#039;m afraid I don&#039;t know enough to conclude what it is or does.</description>
		<content:encoded><![CDATA[<p>The directions talk about the zone file, the origin, the host and the domain, but they don&#8217;t mention what the &#8216;10&#8242; is for in the left most side of the line.  ??  Does it have something to do with the address or the zone file or the origin?  Is the relation described on another page somewhere?  Since this is still new for me, I&#8217;m afraid I don&#8217;t know enough to conclude what it is or does.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
