Hi<br><br>I am having a strange problem and I'm not sure if i am hitting a bug or expected behaviour.<br><br>Server A on 10.1.1.1 is running BIND 9.7.0-P2-RedHat-9.7.0-5.P2.el6_0.1 on RHEL6. It is acting as a recursor for its clients and also has a number of forward zones configured as follows:<br>
<br>zone "<a href="http://testdomain.com">testdomain.com</a>" in {<br>        type forward;<br>        forwarders { 192.168.1.1; };<br>        forward only;<br>};<br><br><br>Server B is on 192.168.1.1 and runs Power DNS, it is authoritative for <a href="http://testdomain.com">testdomain.com</a> and will not service recursive queries.<br>
Some sample entries from that zone are:<br><br>ftp IN CNAME www<br>www IN A 192.168.5.5<br>mail  IN CNAME <a href="http://mail.someotherdomain.com">mail.someotherdomain.com</a>.<br><br><br>If a client queries server A for <a href="http://www.testdomain.com">www.testdomain.com</a> (type any), the request is forwarded on to 192.168.1.1 and resolves as expected.<br>
If a client queries server A for <a href="http://ftp.testdomain.com">ftp.testdomain.com</a> (type any), the request is forwarded on to 192.168.1.1 and resolves as expected.<br><br>However if a client queries server A  for <a href="http://mail.testdomain.com">mail.testdomain.com</a> (type any) the request is not answered. From the logs on server B i can see that server A is only forwarding on a request of type A. As an A record for <a href="http://mail.testdomain.com">mail.testdomain.com</a> does not exist on server B it does not resolve.<br>
<br>If i then specifically query Server A for <a href="http://mail.testdomain.com">mail.testdomain.com</a> of type CNAME, it resolves as expected. Subsequent requests against server A for <a href="http://mail.testdomain.com">mail.testdomain.com</a> of type any then resolve, presumably because it is already in the cache.<br>
<br>Hopefully that makes sense! Has anyone had a similar issue and did you come up with a work around? Is this expected behaviour or a bug?<br><br>Thanks for your help on this - its driving me mad!<br><br>Adam<br><br><br>
<br><br>