'L{client.query} accepts a L{dns.Query} instance and dispatches
it to L{client.theResolver}.C{query}, which in turn dispatches
to an appropriate C{lookup*} method of L{client.theResolver},
based on the L{dns.Query} type.'

def test_query(self):

    q = dns.Query(self.hostname, dns.A)
    d = client.query(q)
    d.addCallback(self.checkResult, dns.A)
    return d
