Implement and use dns_reply_hook to improve tests
test/net/dns.cpp: I overcommented

Let's finish this pull request. No more bells e whistle.