AFAIK, the InetAddress.getByName() call on line 44 of tcpAddress.java will
resolve the address into an ip. I believe this was added as a bugfix a few
months back. Don't remember the bug though (always comment hacks!)

Also, the return address is resolved using getIntAddress() on the socket, but
that is just used for that one message, and so should not need to worry about
dynamic dns (they don't change _that_ often, do they?). The issue is really
only DataSource.

On Wed, 24 May 2000, Ian Clarke wrote:
> Alex Barnell wrote:
> > 
> > What changes to the server and client code would be needed, so that i
> > could identify my node as
> > 
> > tcp/ambient2.dyndns.org
> > 
> > which refers to an ever-changing DNS entry?
> 
> Nothing that I am aware of - although the danger is one of DNS servers
> caching the info (but you have probably got around this anyway).
> 
> You will obviously need to specify the port number as well though.
> 
> Ian.
> 
> _______________________________________________
> Freenet-dev mailing list
> Freenet-dev at lists.sourceforge.net
> http://lists.sourceforge.net/mailman/listinfo/freenet-dev
-- 

Oskar Sandberg
md98-osa at nada.kth.se

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to