[En-Nut-Discussion] DynDNS - query WAN IP

Thiago A. Corrêa thiago.correa at gmail.com
Mon Jan 2 18:50:22 CET 2006


DynDNS suggests that clients use checkip.dyndns.org to figure out the
external IP if necessary. You could check the interface address on the
nut and if it´s one of the private ranges, query checkip.dyndns.org :)



On 1/1/06, gpenzo <gpenzo at wanadoo.nl> wrote:
> enlist at touch2nut.de wrote:
>
> >Hi all,
> >
> >I want to implement a DynDNS-Client into my application, therefore I need
> >the dynamic public WAN-IP of my router.
> >At the moment I only see 2 ways to solve the problem:
> >
> >1. Query an external server (http) which offers the service to "echo" the
> >WAN-IP. (I don´t like this) 2. Do it like traceroute (my prefered solution)
> >and this leads to my question:
> >
> >As it seems to me, for the traceroute-like solution I need to "hack" NUT/OS
> >to modify TTL and process the echoed ICMP-packets - right !? Has anybody
> >another idea - or a free available implementation for a DynDNS-client or
> >traceroute?
> >
> >Greetings from Germany - and a happy new year to all of you !
> >
> >Andreas Genzel
> >
> >_______________________________________________
> >En-Nut-Discussion mailing list
> >En-Nut-Discussion at egnite.de
> >http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
> >
> >
> >
> >
> >
> Hello
> I presume that your router has a dns server in it. You will get a ip
> adress form your router so you know who gave you your adress may be
> there is a fuction in ethernut to retirve this.
> Also ethernut keeps a route table maybe you can use this. Else maybe you
> can reverse arp or something the router because you know its mac, that
> will not change.
>
> Very possible i'm wrong just some ideas i got when i read your post.
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>



More information about the En-Nut-Discussion mailing list