s4 dns: Correctly handle A questions for CNAMEs
authorKai Blin <kai@samba.org>
Fri, 1 Jun 2012 06:05:54 +0000 (08:05 +0200)
committerKai Blin <kai@samba.org>
Wed, 6 Jun 2012 13:23:55 +0000 (15:23 +0200)
commitf3df2988ba6928cde0bd89da321bbe74fd76f53f
tree76cbb9399f8257beab02b1bee410c8da6d3bc804
parent754c60e4175c8cd077766cd6ea762bd46cdd41af
s4 dns: Correctly handle A questions for CNAMEs

When an A/AAAA lookup is made for a name that actually is a CNAME
record, we need to return the CNAME record, and then do the A/AAAA
lookup for the name the CNAME points at.

This still fails for CNAMEs pointing at records for domains we need to
ask our forwarders for.

Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Wed Jun  6 15:23:55 CEST 2012 on sn-devel-104
source4/dns_server/dns_query.c
source4/scripting/python/samba/tests/dns.py