lib/legitbot/validators/domains.rb in legitbot-1.5.1 vs lib/legitbot/validators/domains.rb in legitbot-1.6.0
- old
+ new
@@ -62,9 +62,11 @@
def reverse_ip(record)
return nil if record.nil?
resolver.getaddress(record.to_s).to_s
+ rescue Resolv::ResolvError
+ nil
end
end
end
end
end