1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-09 05:01:33 -05:00

Smoll updoot

Fixed resolve command and adjusted values to new panel and wings.
This commit is contained in:
Joey 2021-09-18 19:41:12 +02:00 committed by GitHub
parent ea3d6274e3
commit e9ce6cd6e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,8 +8,8 @@ warn(){
echo -e '\e[31m'$1'\e[0m'; echo -e '\e[31m'$1'\e[0m';
} }
PANEL=v1.5.1 PANEL=v1.6.1
WINGS=v1.4.6 WINGS=v1.5.1
PANEL_LEGACY=v0.7.19 PANEL_LEGACY=v0.7.19
DAEMON_LEGACY=v0.6.13 DAEMON_LEGACY=v0.6.13
PHPMYADMIN=5.1.1 PHPMYADMIN=5.1.1
@ -342,7 +342,7 @@ dns_check(){
read -r FQDN read -r FQDN
output "Resolving DNS..." output "Resolving DNS..."
SERVER_IP=$(dig +short myip.opendns.com @resolver1.opendns.com) SERVER_IP=$(dig +short myip.opendns.com @resolver1.opendns.com -4)
DOMAIN_RECORD=$(dig +short ${FQDN}) DOMAIN_RECORD=$(dig +short ${FQDN})
if [ "${SERVER_IP}" != "${DOMAIN_RECORD}" ]; then if [ "${SERVER_IP}" != "${DOMAIN_RECORD}" ]; then
output "" output ""