From 47c7215bb817328216c3aa42ff9b8e238ed8c607 Mon Sep 17 00:00:00 2001 From: Marco Platania Date: Wed, 4 Apr 2018 11:26:09 -0400 Subject: Fix DNS issues with MUSIC, OOF and AAF FQDNs Change-Id: I3f470164cdbeb1b038587aee31dc76a32fe8a4a0 Issue-ID: INT-444 Signed-off-by: Marco Platania --- boot/bind_zones_onap | 6 +++--- boot/dns_install.sh | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/boot/bind_zones_onap b/boot/bind_zones_onap index b5a13577..d0cdf838 100644 --- a/boot/bind_zones_onap +++ b/boot/bind_zones_onap @@ -83,11 +83,11 @@ vm1.mr.simpledemo.onap.org. IN A mr_ip_addr vm1.openo.simpledemo.onap.org. IN A openo_ip_addr -vm1.music.simpledemo.openecomp.org. IN A music_ip_addr +vm1.music.simpledemo.onap.org. IN A music_ip_addr -vm1.oof.simpledemo.openecomp.org. IN A oof_ip_addr +vm1.oof.simpledemo.onap.org. IN A oof_ip_addr -vm1.nbi.simpledemo.openecomp.org. IN A nbi_ip_addr +vm1.nbi.simpledemo.onap.org. IN A nbi_ip_addr ;CNAMES diff --git a/boot/dns_install.sh b/boot/dns_install.sh index fbe3df75..d6d18c96 100644 --- a/boot/dns_install.sh +++ b/boot/dns_install.sh @@ -91,7 +91,7 @@ then sed -i "s/music_ip_addr/"$(cat /opt/config/music_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org sed -i "s/oof_ip_addr/"$(cat /opt/config/oof_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org sed -i "s/aaf_ip_addr/"$(cat /opt/config/aaf_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org - sed -i "s/aaf_ip_addr/"$(cat /opt/config/nbi_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org + sed -i "s/nbi_ip_addr/"$(cat /opt/config/nbi_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org sed -i "s/aai1_ip_addr/"$(cat /opt/config/aai1_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org sed -i "s/aai2_ip_addr/"$(cat /opt/config/aai2_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org @@ -108,10 +108,10 @@ then sed -i "s/vid_ip_addr/"$(cat /opt/config/vid_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org sed -i "s/clamp_ip_addr/"$(cat /opt/config/clamp_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org sed -i "s/openo_ip_addr/"$(cat /opt/config/openo_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org - sed -i "s/music_ip_addr/"$(cat /opt/config/music_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org - sed -i "s/oof_ip_addr/"$(cat /opt/config/oof_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org - sed -i "s/aaf_ip_addr/"$(cat /opt/config/aaf_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org - sed -i "s/aaf_ip_addr/"$(cat /opt/config/nbi_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org + sed -i "s/music_ip_addr/"$(cat /opt/config/music_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org + sed -i "s/oof_ip_addr/"$(cat /opt/config/oof_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org + sed -i "s/aaf_ip_addr/"$(cat /opt/config/aaf_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org + sed -i "s/nbi_ip_addr/"$(cat /opt/config/nbi_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.onap.org fi # Configure Bind -- cgit 1.2.3-korg