
As mentioned in the README, this adds the dynamic configuration for unbound on hosts. If there is a ipv6 route, it will set forwarding to ipv6 servers, otherwise use ipv4. This is ported from the configure_mirror.sh script. We add a basic test to integration tests Change-Id: I70b41e45f3d53b191742533c2f3b6c0b6e6c2339
914 B
914 B
An ansible role to dynamically configure DNS forwarders for the
unbound
caching service. IPv6 will be preferred when there
is a usable IPv6 default route, otherwise IPv4.
Note
This is not a standalone unbound configuration role. Base setup is
done during image builds in
project-config:nodepool/elements/nodepool-base/finalise.d/89-unbound
;
here we just do dynamic configuration of forwarders based on the
interfaces available on the actual host.
Role Variables
The primary IPv4 nameserver for fowarding requests
The primary IPv6 nameserver for fowarding requests
The secondary IPv4 nameserver for fowarding requests
The seconary IPv6 nameserver for fowarding requests