[Techtalk] Lookup WAN IPv6 using dig

mgmonza at iceland.freeshell.org mgmonza at iceland.freeshell.org
Sun Jul 23 04:35:19 UTC 2017

Terry, I've nowhere near the advanced router or DNS knowledge to 
contribute to a solution of your problem, but -

I did want to let you know your dig script is now enscounced in /usr/sbin/ 
as whatsmyip.

Hoping you don't mind lurking scavengers -


On Sat, 22 Jul 2017, Terry Roy via Techtalk wrote:

> Date: Sat, 22 Jul 2017 22:21:55 -0500
> From: Terry Roy via Techtalk <techtalk at linuxchix.org>
> Reply-To: Terry Roy <tech at futurecourse.com>
> To: techtalk at linuxchix.org
> Subject: Re: [Techtalk] Lookup WAN IPv6 using dig
> Just a clarification since I received a private e-mail questioning my
> sanity. :)
> No, I haven't opened my home router up. I use the DNS record with a
> script on my server in a datacenter to set firewall rules to make sure I
> don't lock myself out.
> -- 
> Terry
> On 21/07/2017 17:04, Terry Roy via Techtalk wrote:
>> Hi folks,
>> I wrote a shell script to update my DNS record for my home computer that
>> uses the output from the handy command:
>> dig +short myip.opendns.com @resolver1.opendns.com
>> which returns your IPv4 address.
>> Does anyone know of a similar service offered for IPv6 using dig, not an
>> http connection? I've found a ton of sites for http but would rather not
>> go that route. I've poked around at opendns.com but haven't been able to
>> find anything. DDGing wasn't helpful either.
>> Thanks.
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> https://mailman.linuxchix.org/mailman/listinfo/techtalk

More information about the Techtalk mailing list