[PATCH 0/5] dns: Add authority record to replies

Kai Blin kai at samba.org
Thu Jul 30 09:53:19 UTC 2015


Patchset to add an "authority" record to all replies that we are authoritative for.
This should fix bug #10153

Kai Blin (5):
  dns: Add dns_get_authoritative_zone helper function
  dns: Just pass the name to create_response_rr
  dns: Also pass nsrecs to handle_question()
  dns: Add a SOA record to error replies
  dns: always add authority records

 python/samba/tests/dns.py       | 34 +++++++--------
 source4/dns_server/dns_query.c  | 96 ++++++++++++++++++++++++++++++++++-------
 source4/dns_server/dns_server.c |  7 ++-
 source4/dns_server/dns_server.h |  2 +
 source4/dns_server/dns_utils.c  | 16 +++++++
 5 files changed, 121 insertions(+), 34 deletions(-)

-- 
1.9.1




More information about the samba-technical mailing list