Within this article we will show you how to list all IP`s relating to a single AS.
STEPS
First of all get the IP address for the domain.
[root@server]$ whois 173.252.110.27 | grep OriginAS OriginAS: AS32934
Finally run another whois against the AS to obtain a list of IPs.
origin=$(whois `dig facebook.com +short | head -n1` | grep OriginAS | awk ' { print $2 } ') ; w hois -h whois.radb.net -- "-i origin $origin" | grep ^route
Latest posts by Rick Donato (see all)
- NETCONF & YANG: Automate Network Configs via Python - April 2, 2026
- Palo Alto – How to Configure Your Next-Generation Firewall - April 2, 2026
- How to Harden Linux SSH: Keys, Fail2ban & Ciphers - March 1, 2026
Want to become a networking expert ?
Here is our hand-picked selection of the best courses you can find online:
Cisco CCNA Certification Gold Bootcamp
Complete Cyber Security Course – Network Security
Internet Security Deep Dive course
Python Pro Bootcamp
and our recommended certification practice exams:
Delta Practice Tests