Enhanced Public IP Retrieval
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