Looking for all DNS requests made on a Linux system? Tools like dnstop, firejail, and tcpdump can help to find what is being queried.
Tcpdump
Articles about Tcpdump
Get more information out of the tcpdump tool using this cheat sheet. Find everything that is going on the network and your Linux systems.
BPFILTER is one of the newer features to provide traffic filtering. Learn how it works and why it may replace iptables as the firewall on Linux systems.