globetrotter

Created: 2014-05-18 15:10
Updated: 2019-02-08 21:38
License: mit

README.md

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more