How do you check your external IP?

Ben Walton bdwalton-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sun May 13 01:10:24 UTC 2012


> Also, before you can update dynamic DNS sites, you have to know your new
> IP.  My issue is how to script it.  Once you know your new IP, you can
> update DNS or email it to yourself.  For my purpose, emailing to myself
> is sufficient.  Besides, the free DNS has names that I probably won't
> remember.

Many of the clients simply rely on the server side using the source IP
of the connection as the new IP and prevent abuse by requiring
authentication.

I wrote a dns-o-matic client that fetches the IP from
http://myip.dnsomatic.com and then submits an update request to the
proper URL if the cached value differed.  It's the dnsomatic gem if
you want to poke at it.  (I'd make many changes to it if I wanted to
update it now...including vastly simplifying the over-engineered
config system.)

The dns-o-matic service (part of opendns) will update multiple dynamic
name services.  I use dyndns and zoneedit.  Using zoneedit, you can
update values for any domain you own and aren't limited to some of the
awful free domain names.

HTH
-Ben
-- 
---------------------------------------------------------------------------------------------------------------------------
Ben Walton <bdwalton-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>

Take the risk of thinking for yourself.  Much more happiness,
truth, beauty and wisdom will come to you that way.

-Christopher Hitchens
---------------------------------------------------------------------------------------------------------------------------
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list