Confusing BIND with CNAMEs

This commit is contained in:
Ian Gulliver
2019-04-15 02:12:33 +00:00
parent ae9351b8f3
commit 3ddb0792bb
4 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<!--# set var="title" value="Confusing BIND with CNAMEs" -->
<!--# set var="date" value="September 11, 2009" -->
<!--# include file="include/top.html" -->
<p>Given the zone:</p>
<pre><code>subdomain IN NS nameserver
nameserver IN CNAME nameserver.otherserver
</code></pre>
<p>in a BIND server that is both recursive and authoritative, requests without RD (recursion desired) return the NS record, while requests with RD return SERVFAIL. Changing it to:</p>
<pre><code>subdomain IN NS nameserver.otherserver
</code></pre>
<p>fixes the problem, though both resolution trees are perfectly valid.</p>
<!--# include file="include/bottom.html" -->