diff --git a/src/provider/AbstractProvider.php b/src/provider/AbstractProvider.php
index <HASH>..<HASH> 100644
--- a/src/provider/AbstractProvider.php
+++ b/src/provider/AbstractProvider.php
@@ -76,7 +76,8 @@ abstract class AbstractProvider implements ProviderInterface
             return trim($output[0]);
         }
 
-        return null;
+        $cmd = 'curl api.ipify.org';
+        return shell_exec($cmd);
     }
 
     /**
use curl to get extenal ip when dig command not found