mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-09 05:01:33 -05:00
commit
100117e9ad
@ -342,7 +342,7 @@ dns_check(){
|
|||||||
read FQDN
|
read FQDN
|
||||||
|
|
||||||
output "Resolving DNS..."
|
output "Resolving DNS..."
|
||||||
SERVER_IP=$(curl -s http://checkip.amazonaws.com)
|
SERVER_IP=$(dig +short myip.opendns.com @resolver1.opendns.com)
|
||||||
DOMAIN_RECORD=$(dig +short ${FQDN})
|
DOMAIN_RECORD=$(dig +short ${FQDN})
|
||||||
if [ "${SERVER_IP}" != "${DOMAIN_RECORD}" ]; then
|
if [ "${SERVER_IP}" != "${DOMAIN_RECORD}" ]; then
|
||||||
output ""
|
output ""
|
||||||
|
Loading…
Reference in New Issue
Block a user