Change external IP fetching method
Brought to you by:
machineitsvcs
Originally created by: SeinopSys
The previous command only returns the subnet of the external IP, resulting in xx.xx.xx.0 addresses being detected (e.g. if the user is on a /24 subnet). This dig command gets the external IP from OpenDNS' resolver instead. Source: https://unix.stackexchange.com/a/81699/60685
Originally posted by: SeinopSys
I just noticed this is basically reverting [#5] but given the fact that that method is working for me and the current one is not this is a puzzling situation. Perhaps the command should be made configurable instead?
Related
Tickets:
#5