DnsDomainChecker
A domain availability checker using DNS. Nearly as accurate as Whois and you won't get an error if you make too many calls.
Installation
Add this line to your application's Gemfile:
gem 'dns_domain_checker'
And then execute:
$ bundle
Or install it yourself as:
$ gem install dns_domain_checker
Usage
require 'dns_domain_checker'
DnsDomainChecker.available('google.com')
# => false
DnsDomainChecker.available('asdlfasdfasdfasdfasdfasdfasdf.com')
# => true
Contributing
- Fork it ( http://github.com/
/dns_domain_checker/fork ) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request