Hi Robin, > When an application does a DNS lookup of an FQDN via the ILNP stack, > and the stack receives the results and finds ID and L64 records (I am > ignoring ILNPv4, LP records etc. for simplicity) does the stack > return the IP address to the application with the upper 64 bits zeroed?
This is an implementation question, and there are various different alternatives. I can conceive of several different implementation strategies, all of which seem equally valid at this point. Assuming a BSD sockets based implementation: a) Pass back any valid v6 address. When the socket is opened, index into the locator cache and determine the locators and ID from the address. b) Pass back a pointer/index/handle to the record in the locator cache. Play fun games to ensure that the locator cache entry is still valid. Lie to the application in telling it that it is a v6 address. Might mess up applications that feel the urge to print the v6 address. Breaks my heart not at all. ;-) c) Pass back a pointer/index/handle to a FQDN cache in the stack. Only do the DNS lookup when the socket is opened. That's two minutes of thought. Other stacks are not BSD sockets based, such as Cisco's IOS. There all sorts of strange things could happen. ;-) And having a name oriented stack would be the best solution. I was trying to reply to the rest of this, but gave up. It was all implementation detail. Tony _______________________________________________ rrg mailing list [email protected] http://www.irtf.org/mailman/listinfo/rrg
