Strange behaviour resolving CNAME's via a forwarder.

2011-04-20 Thread Adam Goodall
Hi I am having a strange problem and I'm not sure if i am hitting a bug or expected behaviour. 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: zone

Re: Strange behaviour resolving CNAME's via a forwarder.

2011-04-20 Thread Chris Buxton
On Apr 20, 2011, at 2:19 AM, Adam Goodall wrote: However if a client queries server A for mail.testdomain.com (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 mail.testdomain.com does not

Re: Strange behaviour resolving CNAME's via a forwarder.

2011-04-20 Thread Adam Goodall
On 20 April 2011 10:42, Chris Buxton chris.p.bux...@gmail.com wrote: On Apr 20, 2011, at 2:19 AM, Adam Goodall wrote: However if a client queries server A for mail.testdomain.com (type any) the request is not answered. From the logs on server B i can see that server A is only forwarding on

Re: Strange behaviour resolving CNAME's via a forwarder.

2011-04-20 Thread Ben Croswell
I believe your original issue is due to the fact that you are sending a recursive query via the forward to a device you said won't do recursive queries. The cname you are asking for is not in the domain hosted by the second server. Since it won't do recursive queries it won't resolve the end

Re: Strange behaviour resolving CNAME's via a forwarder.

2011-04-20 Thread Tony Finch
Adam Goodall adam.good...@gmail.com wrote: This certainly seems to have solved the problem. I'm not convinced i understand why it didn't work they way i was trying but this is a perfectly acceptable alternative - thanks for your help! A server that you forward queries to is expected to be a