Revert refcount debug tracing (commit a8b29f0365), there are better ways to do it. Use the dns_qpmethods_t typedef where appropriate. Some stylistic improvements.
a8b29f0365