[getdns-api] On multiple call types and their arguments

Dan Winship dan.winship at gmail.com
Tue Feb 12 12:49:08 MST 2013


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).

-- Dan



More information about the getdns-api mailing list