Reversed

:earth_americas: Reverse DNS / IP Lookup for Ruby

Reversed.lookup("8.8.4.4")
# "google-public-dns-b.google.com"

Works with IPv4 and IPv6

Reversed.lookup("2a03:2880:2110:df07:face:b00c::1")
# "a.ns.facebook.com"

Installation

Add this line to your application’s Gemfile:

gem 'reversed'

And then execute:

bundle

History

View the changelog

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help: