GitHub

DnsError

API reference for DnsError.

A lookup failed; reason says why, hostname what was asked.

Attributes

AttributeTypeDescription
reasonDnsErrorReason
methodDnsMethod
hostnamestr
record_typeRecordType | None = None
causeobject = None
messagestr
is_temporarybool

Whether retrying may succeed.

Functions

__init__

__init__(reason, method, hostname, record_type=None, cause=None) -> None
ParameterTypeDescription
reasonDnsErrorReason
methodDnsMethod
hostnamestr
record_typeRecordType | None = None
causeobject = None