dnsserver: Add support for dns wildcards
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 3 Aug 2017 03:12:02 +0000 (15:12 +1200)
committerGarming Sam <garming@samba.org>
Tue, 15 Aug 2017 06:07:10 +0000 (08:07 +0200)
commitedcbc991253f4d6f59ef9a43a691c66cbbdc2b6d
treea3641f0fa6cc0aa2183b1cff9c0da49a6a0e355d
parent34acf5a99214639e5e7792a9e85d24c9fd7640ac
dnsserver: Add support for dns wildcards

Add support for dns wildcard records. i.e. if the following records
exist

  exact.samba.example.com 3600 A 1.1.1.1
  *.samba.example.com     3600 A 1.1.1.2

look up on exact.samba.example.com will return 1.1.1.1
look up on *.samba.example.com     will return 1.1.1.2
look up on other.samba.example.com will return 1.1.1.2

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12952
selftest/knownfail.d/dns_wildcard [deleted file]
source4/dns_server/dlz_bind9.c
source4/dns_server/dns_query.c
source4/dns_server/dns_server.h
source4/dns_server/dns_utils.c
source4/dns_server/dnsserver_common.c
source4/dns_server/dnsserver_common.h