Fix querying the DNS

DNS querying works, but the output is awkward.