> I'm talking about 1 name with multiple addresses being
> returned in multiple scopes. I'm taking about having
> getaddrinfo() then filter out the inappropriate addresses
> using local knowledge and setting sin6_scope_id.
> This deals with 99.9% of address lookup.
>
> No, Mark, it doesn't, because the party that calls getaddrinfo
> isn't necessarily the same as the party (and doesn't share the same
> scopes as the party) that uses the addressees.
List the number of application thay just lookup a address
then connect.
Now list the number of applications that lookup a address
for a third party.
My bet is that the result will be over 1000 to 1.
Also if you read the mail I admitted that there was a class
of applictation where getaddrinfo() is not enough. That
those applications would need a different API to look up
the addresses (or call the DNS directly).
However that class of application could still determine
approriate remote SL to use by matching against the scope name
in the SA6 record and returning the address along with the
scope name.
> there are numerous good reasons that many apps do NOT do a DNS lookup
> each time they want to contact another host.
Which is irrelevent as to whether a address is in the DNS or
not.
Mark
>
> Keith
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: [EMAIL PROTECTED]
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page: http://playground.sun.com/ipng
FTP archive: ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------