Added More IP Lookup Services

This commit is contained in:
earnolmartin 2021-03-23 09:53:27 -06:00
parent 6e09cf25fd
commit 9e4e59cc26
2 changed files with 12 additions and 0 deletions

View file

@ -3085,6 +3085,12 @@ function fixQuotaForEmailsPostfix3x(){
function getServerIPAddr(){
MYIP=$(wget -qO- "https://dynamix.run/ip.php" | xargs)
if [ $? -ne 0 ] || [ -z "$MYIP" ]; then
MYIP=$(wget -qO- "http://dinofly.com/ip.php" | xargs)
fi
if [ $? -ne 0 ] || [ -z "$MYIP" ]; then
MYIP=$(wget -qO- "https://hostmon.tk/ip.php" | xargs)
fi
}
function installBadBotsBlockerNginx(){

View file

@ -2730,6 +2730,12 @@ function fixQuotaForEmailsPostfix3x(){
function getServerIPAddr(){
MYIP=$(wget -qO- "https://dynamix.run/ip.php" | xargs)
if [ $? -ne 0 ] || [ -z "$MYIP" ]; then
MYIP=$(wget -qO- "http://dinofly.com/ip.php" | xargs)
fi
if [ $? -ne 0 ] || [ -z "$MYIP" ]; then
MYIP=$(wget -qO- "https://hostmon.tk/ip.php" | xargs)
fi
}
function installBadBotsBlockerNginx(){