Closed rosscooperman closed 10 years ago
For some context, we're using this gem on EngineYard where there is no IPv6 support. Trying to create an IPv6 socket fails in this situation.
I have forked this repository (after attempting and failing to contact author) here: https://github.com/mordocai/net-dns. If you wish to resubmit your pull request there I will review/merge it in. It will shortly be the gem net-dns2 on rubygems.org.
Specifically, if there are no IPV6 nameservers in the configured nameserver list, there's no reason to open an IPV6 socket.