Re: Renumbering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephane Bortzmeyer wrote:
> On Sun, Sep 23, 2007 at 10:16:26PM -0400,
>  Keith Moore <moore@xxxxxxxxxx> wrote 
>  a message of 53 lines which said:
>
>   
>> I don't want getnameinfo() or any other API that does DNS lookup to
>> act differently depending on whether the system seems to have
>> external IPv6 connectivity or not (unless the app explicitly asked
>> for this),
>>     
>
> getaddrinfo() or getnameinfo() are *not* supposed to do DNS lookups,
> they are supposed to do name-to-address mapping, using whatever system
> they were configured for (may be the DNS, may be LDAP, may be
> /etc/hosts).
>   
yeah, I know.  and that's *broken*.  because if people want apps to use
DNS names, then apps need a consistent way to do DNS name lookups from
one app to another.  why shouldn't the standard name lookup API do this?
>> because my app might have a valid reason for wanting to know if
>> there's an AAAA record associated with a name even if the system
>> doesn't have external IPv6 connectivity.
>>     
>
> OK, then it requires a low-level system call, doing only DNS lookups
> (this API already exists, BTW). getaddrinfo() is for applications who
> want the high-level view.
>   
there's no standard API to do this.  and there needs to be.
>> More generally, I don't want anything that handles DNS queries - 
>>     
>
> Then, getaddrinfo() is out of scope, since it was never conceived as a
> DNS debugging tool
who said anything about debugging?    there are a  number of apps that
are required, as a matter of standards conformance, to do DNS queries if
they want to operate correctly.

Keith


_______________________________________________

Ietf@xxxxxxxx
https://www1.ietf.org/mailman/listinfo/ietf

[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Fedora Users]