ruby-dns / net-dns

Net::DNS is a DNS library written in Ruby.
http://net-dns.rubyforge.org
Other
165 stars 42 forks source link

Resolver nameservers list only takes IPs? #26

Open homerlex opened 13 years ago

homerlex commented 13 years ago

I'm not sure if this is a bug (or perhaps a feature request):

When I specify a list of nameservers initializing a Resolver I need to put in IP addresses. If I put in a hostname I get an error:

usr/lib/ruby/1.8/ipaddr.rb:464:in `in6_addr': invalid address

Is there a reason it only accepts IP addresses?

ghost commented 10 years ago

I think this is fixed by https://github.com/mordocai/net-dns/issues/11 in my fork. This should be in the v0.8.3 release later this week.