
3 Nov
2019
3 Nov
'19
10:11 a.m.
Hi Piers, On Sun, Nov 03, 2019 at 01:29:50PM +1000, luv-main wrote:
Hi there,
I have a fans PC that I am using as a wifi hospot that goes into my NBN connection.
I haven't really set anything up, just selected create hotspot in Gnome and it just works.
I would like to log all of the DNS queries. Is there a simple way of doing that or do I need to set up a connection from the ground up (eg: Squid, BIND, etc).
Thanks
Piers
nfq (that I will be describing on Wed) does exactly that (log all DNS requests). You need an nft rule to enqueue packets with destination port domain. Another way is to run nscd (Name Server Cache Daemon) with debug nonzero and process the log file (copious output). Cheers ... Duncan.