Created
July 10, 2017 07:15
-
-
Save Marcocanc/c922d90eeea0a4c810b7f9c77dedc166 to your computer and use it in GitHub Desktop.
Domain to Ripe Lookup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
IP=$(dig +short $1 | sed -n 1p) | |
whois -h whois.ripe.net -- "-T route ${IP}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment