dns

dns

The Domain Name System (DNS) is a hierarchical and distributed naming system for computers, services, and other resources in the Internet or other Internet Protocol (IP) networks. It associates various information with domain names assigned to each of the associated entities.

nslookup

Non-interactive

nslookup google.com

Interactive mode

nslookup
> google.com
Server:		2001:558:feed::1
Address:	2001:558:feed::1#53

Non-authoritative answer:
Name:	google.com
Address: 142.250.69.238
> exit

Monitor DNS traffic with tcpdump

tcpdump -i en0 udp port 53