For a quick look at what leaves a machine, tcpdump on the command line is enough for me.
sudo tcpdump -ni any port 53 -c 20
-n skips name lookups, which would create more DNS traffic while you watch DNS. -i any listens on all interfaces, port 53 is a capture filter, and -c 20 stops after twenty packets. Capture filters run in the kernel, so they cost less than filtering afterwards. It needs root. DNS over TLS or HTTPS will not show readable queries on port 53.
Further reading: tcpdump manual page