ankane/reversed

uninitialized constant Net::DNS::Resolver::TimeoutError

ujinius opened this issue ยท 4 comments

when timeout is happening I got:

NameError (uninitialized constant Net::DNS::Resolver::TimeoutError)

It can be reproduced simply:

irb(main):002:0> Reversed.lookup('8.8.4.4', timeout: 0.0001)
Traceback (most recent call last):
        1: from (irb):2
NameError (uninitialized constant Net::DNS::Resolver::TimeoutError)
irb(main):003:0> 

Hey @ujinius, thanks for reporting! Unfortunately, it's an issue with the net-dns gem (ruby-dns/net-dns#82), but since it hasn't been updated in a while, I think it's fine to patch it.

Thanks a lot, @ankane

@ankane could you please give a hint when you plan to release 0.4.2 (which includes this PR)? We are about in dependency of the fix. Thank you!

Just pushed a new release.