Paul's Programming Notes     Archive     Feed     Github

Linux - Dig's +short Option

I learned Linux’s dig has a “+short” option that returns only the IP address for a hostname:

$ dig +short google.com
142.251.32.174