Skip to content

Instantly share code, notes, and snippets.

@picatz
Created April 24, 2018 19:59
Show Gist options
  • Select an option

  • Save picatz/80f9bebd931d7c27a4895f3ed70f4ff8 to your computer and use it in GitHub Desktop.

Select an option

Save picatz/80f9bebd931d7c27a4895f3ed70f4ff8 to your computer and use it in GitHub Desktop.
require "flareon"
domain = "google.com"
ip_addresses = Flareon.resolve_all(domain)
puts "Found #{ip_addresses.count} different IPs for #{domain}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment