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
- Fork it
- 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 a new Pull Request