'If no record of the requested type is included in a response, but a
I{CNAME} record for the query name is included, queries are made to
resolve the value of the I{CNAME}.'

def test_followCanonicalName(self):

    servers = {('1.1.2.3', 53): {('example.com', A): {'answers': [('example.com', Record_CNAME('example.net'))]}, ('example.net', A): {'answers': [('example.net', Record_A('10.0.0.5'))]}}}
    resolver = self._getResolver(servers)
    d = resolver.lookupAddress('example.com')
    d.addCallback((lambda results: results[0]))
    d.addCallback(self.assertEqual, [RRHeader('example.com', CNAME, payload=Record_CNAME('example.net')), RRHeader('example.net', A, payload=Record_A('10.0.0.5'))])
    return d
