1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 10:31:34 -05:00

Update install.sh

This commit is contained in:
OnHamzaYT 2021-01-24 09:57:57 +01:00 committed by GitHub
parent 12ebf26610
commit 2e7c2bbc7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,7 +342,7 @@ dns_check(){
read FQDN
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})
if [ "${SERVER_IP}" != "${DOMAIN_RECORD}" ]; then
output ""