Attempt to use the name of the domain directly when mail exchange lookup fails.

ParametersfailureThe reason for the lookup failure. (type: Failure)
domainThe domain name. (type: bytes)
ReturnsAn MX record for the domain or a failure if the fallback to domain option is not in effect and an error, other than not finding an MX record, occurred during lookup. (type: Record_MX or Failure)
RaisesIOErrorWhen no MX record could be found and the fallback to domain option is not in effect.
DNSLookupErrorWhen no MX record could be found and the fallback to domain option is in effect but no address for the domain could be found.
Function cbResolved Undocumented
Function ebResolved Undocumented
def cbResolved(addr): (source)
Undocumented
def ebResolved(err): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.