[GTALUG] Getting external IP

Kevin Cozens kevin at ve3syb.ca
Sat Jan 27 19:06:58 EST 2018


On 2018-01-27 06:33 PM, John Sellens via talk wrote:
> On Sat, 2018/01/27 04:45:55PM -0500, William Park via talk <talk at gtalug.org> wrote:
> | On Sat, Jan 27, 2018 at 03:03:56PM -0500, Don Tai wrote:
> | > dig +short myip.opendns.com @resolver1.opendns.com
> |
> | This I like, even though it only applies for OpenDNS.
> 
> I think it's general purpose - I believe it replies with
> your source address - no previous record in opendns needed.

You could put a simple PHP file on an external webserver you control that 
will return the IP address.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/           |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why we're
                                 | powerful!"
#include <disclaimer/favourite> |             --Chris Hardwick


More information about the talk mailing list