When you are moving from one server public IP to another you could use some help knowing things are changed.
This bash script will do an NSLookup on various DNS servers.
#!/bin/sh # Digkittell.net.sh # # # Created by David Kittell on 1/6/18. # netDomain="kittell.net" dnsServerList="68.94.156.132|10.40.20.1|8.8.8.8|192.168.10.21|192.168.10.20|10.40.20.6|208.67.220.220|9.9.9.9|209.18.47.61|4.2.2.2|168.63.129.16|172.26.38.1" clear echo "AT&T DNS - Authoritative NS (cbru.br.ns.els-gms.att.net)" #dig @68.94.156.132 kittell.net | grep ";; ANSWER SECTION:" -A1 | grep -v ";; ANSWER"| sed "s/\t/ /g" netIP=$(nslookup $netDomain 68.94.156.132 | grep "Address" | egrep -v "$dnsServerList" | cut -d " " -f2) echo "$netDomain : $netIP" echo "AT&T Cellular DNS (172.26.38.1)" netIP=$(nslookup $netDomain 172.26.38.1 | grep "Address" | egrep -v "$dnsServerList" | cut -d " " -f2) echo "$netDomain : $netIP" echo "Azure DNS (168.63.129.16)" netIP=$(nslookup $netDomain 168.63.129.16 | grep "Address" | egrep -v "$dnsServerList" | cut -d " " -f2) echo "$netDomain : $netIP" echo "Level3 DNS (4.2.2.2)" netIP=$(nslookup $netDomain 4.2.2.2 | grep "Address" | egrep -v "$dnsServerList" | cut -d " " -f2) echo "$netDomain : $netIP" echo "OpenDNS DNS (208.67.220.220)" netIP=$(nslookup $netDomain 208.67.220.220 | grep "Address" | egrep -v "$dnsServerList" | cut -d " " -f2) echo "$netDomain : $netIP" echo "Google DNS - (8.8.8.8)" netIP=$(nslookup $netDomain 8.8.8.8 | grep "Address" | egrep -v "$dnsServerList" | cut -d " " -f2) echo "$netDomain : $netIP" echo "Quad9 DNS - (9.9.9.9)" netIP=$(nslookup $netDomain 9.9.9.9 | grep "Address" | egrep -v "$dnsServerList" | cut -d " " -f2) echo "$netDomain : $netIP"