bug #10471: Don't respond with NXDOMAIN to records that exist with another type
authorKai Blin <kai@samba.org>
Thu, 27 Feb 2014 22:49:24 +0000 (23:49 +0100)
committerKai Blin <kai@samba.org>
Tue, 4 Mar 2014 12:46:34 +0000 (13:46 +0100)
commitd9829df13317b38677d92a499134727ab31fbb0e
tree5e9b59ab6615bdbb14260b742e0618cc22e15912
parent6f092cfd878a16db276238444f41d6218e66d12a
bug #10471: Don't respond with NXDOMAIN to records that exist with another type

DNS queries for records with the wrong type need to trigger an empty
response with RCODE_OK instead of returning NXDOMAIN.

This adds a test and fixes bug #10471

Signed-off-by: Kai Blin <kai@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/dns.py
source4/dns_server/dns_query.c