[getdns-api] On multiple call types and their arguments
Paul Hoffman
paul.hoffman
Wed Feb 13 23:54:26 CET 2013
On Feb 12, 2013, at 11:49 AM, Dan Winship <dan.winship at gmail.com> wrote:
> On 02/12/2013 01:53 PM, Paul Hoffman wrote:
>> On Feb 12, 2013, at 5:29 AM, Dan Winship <dan.winship at gmail.com> wrote:
>> Just checking if I have this correctly:
>>
>> - your getdns_address() would not need arguments for address type, nor extension to say "give me both IPv4 and IPv6"
>> - your getdns() would be similar to what I have now, but much less likely to be used for querying addresses, but it would *not* look up non-DNS things like WINS and mDNS
>
> Exactly.
>
>> In some sense, then, getdns_service() is just a wrapper around getdns(), yes?
>
> Yes. Basically, you'd be removing the SRV special case from getdns(),
> and putting in its own function instead (which would just call getdns(),
> then correctly sort the results).
This seems reasonable to me. Let me wind it into the next version and send it out soon-ish.
--Paul Hoffman
More information about the spec
mailing list