TODO items.
-o in production mode, do not free memory on exit. In debug mode, test leaks.
o #define BIT_... different on bigendian and smallendian systems so that
the htons on flags is not needed to send a message from the cache.
o speed up pkt domain name decompression loop detection using counter perhaps.
o private TTL feature
o pretend-dnssec-unaware, and pretend-edns-unaware modes for debug/workshops.
o delegpt use rbtree for ns-list, to avoid slowdown for very large NS sets.
-o be able to have different listen and query-to addresses to bind to,
- so you can listen to localhost and query-to to the internet.
o reprime and refresh oft used data before timeout.
o retain prime results in a overlaid roothints file.
o store primed key data in a overlaid keyhints file (sort of like drafttimers).
o autoreport of problems
o command the server with TSIG inband. get-config, clearcache,
get stats, get memstats, get ..., reload, clear one zone from cache
-o watch for spoof nearmisses.
+o watch for spoof nearmisses. Keep counter of nearmisses and print that
+ in the stats lines, operator can determine what level is a redalert.
o improve compression of DNS packets by first puttig uncompressible rrs, then
compress to their rdata.
o NSID rfc 5001 support.