amplify-education / globetrotter

Uses public DNS servers indexed by http://public-dns.tk/ to resolve addresses worldwide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

globetrotter

globetrotter retrieves a list of DNS servers around the world from the Public DNS Server List and runs your query against them. This is particularly handy for compiling list of SaaS endpoint IPs in cases where the provider doesn't specify them.

Installation

$ gem install globetrotter

Usage

Query 100 DNS servers for googleapis.com, making 10 requests in parallel at a time:

$ globetrotter -q googleapis.com -c 100 -p 10

Write results for google.com to /tmp/google.txt - file will be created if it doesn't exist

$ globetrotter -q google.com -f /tmp/google.txt

See globetrotter -h for all parameters

TODO

  • Improve command line argument parsing
  • Handle non-A records

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Uses public DNS servers indexed by http://public-dns.tk/ to resolve addresses worldwide

License:MIT License


Languages

Language:Ruby 100.0%