The dig command
DNS lookup utility 3 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.
Examples
dig google.com
dig +short google.com AJust the IP
dig @1.1.1.1 google.comAsk a different DNS server directly