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

def lookupMailExchange ( name , timeout = None ) : return getResolver ( ) . lookupMailExchange ( name , timeout )
perform an mx record lookup .