Clarify comments
No need to give defaults in docstrings for options

The usage message will include them anyway.
Use constant for TTL
Move DNS utils into their own file
Extended makeDNSReply to PTR replies too
Use compact if-with-assign statements where scoping allows
Move the handler function closer to its use