Add OpenDNS resolvers and move google to fallback
This change updates the default unbound resolvers to use OpenDNS first then google for both IPv6 and IPv4 Change-Id: I500d9ecd9c1f8c5ecd08b47c00dc5256f01548f6 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
dc699f8bb8
commit
884199bb06
@ -21,13 +21,17 @@ if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
||||
fi
|
||||
set -e
|
||||
|
||||
NODEPOOL_STATIC_NAMESERVER_V6=${NODEPOOL_STATIC_NAMESERVER_V6:-2001:4860:4860::8888}
|
||||
NODEPOOL_STATIC_NAMESERVER_V4=${NODEPOOL_STATIC_NAMESERVER_V4:-8.8.8.8}
|
||||
NODEPOOL_STATIC_NAMESERVER_V6=${NODEPOOL_STATIC_NAMESERVER_V6:-2620:0:ccc::2}
|
||||
NODEPOOL_STATIC_NAMESERVER_V4=${NODEPOOL_STATIC_NAMESERVER_V4:-208.67.222.222}
|
||||
NODEPOOL_STATIC_NAMESERVER_V6_FALLBACK=${NODEPOOL_STATIC_NAMESERVER_V6_FALLBACK:-2001:4860:4860::8888}
|
||||
NODEPOOL_STATIC_NAMESERVER_V4_FALLBACK=${NODEPOOL_STATIC_NAMESERVER_V4_FALLBACK:-8.8.8.8}
|
||||
dd of=/tmp/forwarding.conf <<EOF
|
||||
forward-zone:
|
||||
name: "."
|
||||
forward-addr: $NODEPOOL_STATIC_NAMESERVER_V6
|
||||
forward-addr: $NODEPOOL_STATIC_NAMESERVER_V6_FALLBACK
|
||||
forward-addr: $NODEPOOL_STATIC_NAMESERVER_V4
|
||||
forward-addr: $NODEPOOL_STATIC_NAMESERVER_V4_FALLBACK
|
||||
EOF
|
||||
|
||||
mv /tmp/forwarding.conf /etc/unbound/
|
||||
|
Loading…
x
Reference in New Issue
Block a user