# Install Bind
mkdir /etc/bind/zones
sed -i "s/OPTIONS=.*/OPTIONS=\"-4 -u bind\"/g" /etc/default/bind9
+mv db_demo_onap_org /etc/bind/zones/db.demo.onap.org
+mv named.conf.options /etc/bind/
+mv named.conf.local /etc/bind/
+CPE_PUBLIC_IP=$(cat /opt/config/cpe_public_net_ipaddr.txt)
+sed -i "s/x.x.x.x/"$CPE_PUBLIC_IP"/g" /etc/bind/named.conf.options
+sleep 1
+
# Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes
if [[ $CLOUD_ENV != "rackspace" ]]
reboot
fi
-./v_dns_init.sh
\ No newline at end of file
+./v_dns_init.sh