I am trying to get reverse DNS lookups working with the net-dns gem for ruby.
From the rdoc
res = Net::DNS::Resolver.new
ip = IPAddr.new("172.16.100.2")
packet = res.search(ip)
packet = res.search("192.168.10.254")
should work but I'm getting
ArgumentError: invalid address
for the last two lines.
This happens using a custom gem built from head of github source or the latest released version from
gem install net-dns