crystal-libraries-needed icon indicating copy to clipboard operation
crystal-libraries-needed copied to clipboard

Async DNS Library

Open jots opened this issue 7 years ago • 3 comments

like (ruby) https://github.com/alexdalitz/dnsruby or (golang): https://github.com/miekg/dns

jots avatar May 15 '17 20:05 jots

There's a very basic "DNS" client for looking up names in the stdlib already, although it just binds gataddrinfo.

RX14 avatar May 15 '17 20:05 RX14

yes I've used that one, but need async for resolving millions of names in short amount of time, and also ability to specify nameservers to hit for resolution on a per query basis.

jots avatar May 15 '17 22:05 jots

@jots It's already async; just spawn a new fiber for each query, however it's still not suitable for more than looking up hostnames' A records I agree.

RX14 avatar May 15 '17 23:05 RX14