joyent/node — Issue #2155: dns.resolve should support rrtype=UNSPEC
Author: pyropeter
Created: 2011-11-20 17:17:51+00:00
State: open

Currently, there is no way to request both IPv6 and IPv4 addresses of a host with one call. I guess this also means that two DNS requests are made.

Imho, dns.resolve should support an additionaly rrtype: "UNSPEC". It would do the same as the AF_UNSPEC in getaddrinfo's hints.