1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-09-16 14:14:42 -04:00

Merge pull request #31 from OnHamzaYT/patch-1

Update install.sh
This commit is contained in:
TommyTran732 2021-02-05 10:47:01 -05:00 committed by GitHub
commit 100117e9ad
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 ""