def lookupCanonicalName(name, timeout=None):
 return getResolver().lookupCanonicalName(name, timeout)

def lookupCanonicalName ( name , timeout = None ) : return getResolver ( ) . lookupCanonicalName ( name , timeout )
perform a cname record lookup .