Some trivial tests for DNS.
Use %H in sprintf where possible.