dns: modify dns forwarder param to be multi-valued
authorGarming Sam <garming@catalyst.net.nz>
Tue, 16 Feb 2016 22:30:21 +0000 (11:30 +1300)
committerGarming Sam <garming@samba.org>
Tue, 3 May 2016 06:10:09 +0000 (08:10 +0200)
commit5caebde11d1a25581e5f8d7c7f7deadfeae7759e
tree6f872bfed07db21e49b16b8f0a5eb1443484c71b
parent870b74d73eb6812d2002e4d88a2553d6edd545c4
dns: modify dns forwarder param to be multi-valued

This allows a secondary DNS forwarder for a trivial failover. Requests
which fail/timeout at the primary DNS forwarder will be restarted
entirely with the next forwarder in the list.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
docs-xml/smbdotconf/domain/dnsforwarder.xml
source4/dns_server/dns_query.c
source4/dns_server/dns_server.c