Using Dig

published on
Sometime back, I stumbled across this command that helps you lookup your public IP address from the terminal: dig +short myip.opendns.com @resolver1.opendns.com and it sent me down a fun rabbit hole of the dig command. Here are some things I found: What's dig? dig - short for Domain Information Groper - provides a nice CLI to find DNS/DNS-related information about a domain name, a server or just an address. It comes as part of the dnsutils package Read More...