diff --git a/lib/legitbot/validators/domains.rb b/lib/legitbot/validators/domains.rb index be1e25b..7308685 100644 --- a/lib/legitbot/validators/domains.rb +++ b/lib/legitbot/validators/domains.rb @@ -64,6 +64,8 @@ def reverse_ip(record) return nil if record.nil? resolver.getaddress(record.to_s).to_s + rescue Resolv::ResolvError + nil end end end