Added More IP Lookup Services
This commit is contained in:
parent
6e09cf25fd
commit
9e4e59cc26
2 changed files with 12 additions and 0 deletions
|
@ -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(){
|
||||
|
|
|
@ -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(){
|
||||
|
|
Loading…
Reference in a new issue