tcpdump

tcpdump

a powerful command-line packet analyzer

Monitor DNS traffic

tcpdump -i en0 udp port 53