I wanted to get all IPs that belong to facebook.com.
whois -h whois.radb.net -- '-i origin AS32934'
whois -h whois.radb.net -- '-i origin AS32934' | grep ^route
dig +short facebook.com
# 31.13.91.36
whois -h whois.radb.net 31.13.72.36 | grep -i origin
# origin: AS32934