bug #10471: Don't respond with NXDOMAIN to records that exist with another type
commit7bac6e022a1bc966c4b7128048d7faa48c524348
authorKai Blin <kai@samba.org>
Thu, 27 Feb 2014 22:49:24 +0000 (27 23:49 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 1 Apr 2014 07:08:07 +0000 (1 09:08 +0200)
treead2714b2be558aff74d699531d392ac585c9ddb2
parent67fc5bff3761225223d03a44a5069f6a759aa828
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>
(cherry picked from commit d9829df13317b38677d92a499134727ab31fbb0e)
python/samba/tests/dns.py
source4/dns_server/dns_query.c