-q, --log-queries
Log the results of DNS queries handled by dnsmasq. Enable a full cache dump on receipt of SIGUSR1. If the argument "extra" is supplied, ie --log-queries=extra then the log has extra information at the start of each line. This consists of a serial number which ties together the log lines associated with an individual query, and the IP address of the requestor.
Problem is, I'm not sure if dd-wrt supports the log-queries option, or whether it will respond to signals. At least it didn't work the last time I tried it. It's one of the limitations of dd-wrt when it comes to DNSMasq. Many features have been stripped out to save space, or sometimes it's just running older versions of DNSMasq that never supported the feature.
Note, you would add the directive to "Additional DNSMasq Options" as follows:
P.S. Should have mentioned, these dumps are made to the syslog, NOT the command line.
I don't really want to list each query and so forth, just a count will do, perhaps even on the UI would be nice, DNS cache used / total / remaining etc.