Skip to content

Enhanced Public IP Retrieval

Compare
Choose a tag to compare
@robertpeteuil robertpeteuil released this 02 Nov 18:56
· 108 commits to master since this release

3.6.1 - Enhanced Public IP Retrieval

new methods of determining public IP

  • if dig is installed
    • uses it to get ip from google
  • else if curl is installed
    • uses it to retrieve IP from wtfismyip.com
    • previous site, ipinfo.io, no longer provides consistent results in scripts
  • this also fixes a potential error if curl wasn't installed