DNS Names.
|
EmptyLabel
A DNS label is empty.
|
|
BadEscape
An escaped code in a text format of DNS name is invalid.
|
|
BadPointer
A DNS compression pointer points forward instead of backward.
|
|
BadLabelType
The label type in DNS name wire format is unknown.
|
|
NeedAbsoluteNameOrOrigin
An attempt was made to convert a non-absolute name to wire when
there was also a non-absolute (or missing) origin.
|
|
NameTooLong
A DNS name is > 255 octets long.
|
|
LabelTooLong
A DNS label is > 63 octets long.
|
|
AbsoluteConcatenation
An attempt was made to append anything other than the empty name to
an absolute DNS name.
|
|
NoParent
An attempt was made to get the parent of the root name or the empty
name.
|
|
Name
A DNS name.
|
string
|
|
|
_validate_labels(labels)
Check for empty labels in the middle of a label sequence, labels that
are too long, and for too many labels. |
source code
|
|
|
|
dns.name.Name object
|
|
dns.name.Name object
|
from_text(text,
origin=<DNS name .>)
Convert text into a Name object. |
source code
|
|
(dns.name.Name object, int) tuple
|
|