Sha256: f3a18d45ee04aaf63bef7a31947e59174e1435de48fff8ef587494413e3052c4

Contents?: true

Size: 790 Bytes

Versions: 1

Compression:

Stored size: 790 Bytes

Contents

# Reversed

:earth_americas: Reverse DNS / IP Lookup for Ruby

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

Works with IPv4 and IPv6

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

## Installation

Add this line to your application’s Gemfile:

```ruby
gem 'reversed'
```

And then execute:

```sh
bundle
```

## History

View the [changelog](https://github.com/ankane/reversed/blob/master/CHANGELOG.md)

## Contributing

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

- [Report bugs](https://github.com/ankane/reversed/issues)
- Fix bugs and [submit pull requests](https://github.com/ankane/reversed/pulls)
- Write, clarify, or fix documentation
- Suggest or add new features

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reversed-0.2.1 README.md