Skip to content

Instantly share code, notes, and snippets.

@normoes
Last active March 10, 2022 21:28
Embed
What would you like to do?
Get ASHandle of a domain

Get ASHandle of a domain

I wanted to get all IPs that belong to facebook.com.

The command I found is the following

whois -h whois.radb.net -- '-i origin AS32934'

whois -h whois.radb.net -- '-i origin AS32934' | grep ^route

I wondered where AS32934 was coming from

dig +short facebook.com
# 31.13.91.36
whois -h whois.radb.net 31.13.72.36 | grep -i origin
# origin:     AS32934
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment