aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-05-18 13:50:48 -0400
committerMarco Platania <platania@research.att.com>2017-05-18 13:50:48 -0400
commit1c79537b57c3c23352abdd9c56840c9a9a5ffa2a (patch)
tree83802018c8a978749bc85873989628a0031b09cd /boot
parentfee6de844f9d4c3aad87733734d35df50117b6b0 (diff)
[UCA-13] Enable DNS recursive queries
Change-Id: Ia0f4ca27a3f0cdd08eb830fc5d4b8c9a03ed0e62 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/bind_options1
-rw-r--r--boot/dns_install.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/boot/bind_options b/boot/bind_options
index 49957325..ed9540a3 100644
--- a/boot/bind_options
+++ b/boot/bind_options
@@ -10,6 +10,7 @@ options {
allow-transfer { none; }; # disable zone transfers by default
forwarders {
+ external_dns
8.8.8.8;
8.8.4.4;
};
diff --git a/boot/dns_install.sh b/boot/dns_install.sh
index 152a723a..58bb4d78 100644
--- a/boot/dns_install.sh
+++ b/boot/dns_install.sh
@@ -64,6 +64,7 @@ curl -k $NEXUS_REPO/org.openecomp.demo/boot/$ARTIFACTS_VERSION/named.conf.local
if [[ $CLOUD_ENV != "rackspace" ]]
then
sed -i "s/dns_ip_addr/"$(cat /opt/config/dns_ip_addr.txt)"/g" /etc/bind/named.conf.options
+ sed -i "s/external_dns/"$(cat /opt/config/external_dns.txt)"/g" /etc/bind/named.conf.options
sed -i "s/aai_ip_addr/"$(cat /opt/config/aai_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/appc_ip_addr/"$(cat /opt/config/appc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/dcae_ip_addr/"$(cat /opt/config/dcae_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org