You can put named in debug mode by sending it one or more USR1 signals but the simplest thing to do imho is tcpdump -i ethX udp port 53 > somelogfile where ethX is the interface you monitor. cheers, BM