| Home | Trees | Index | Help |
|
|---|
| Package dns :: Module name |
|
| Classes | |
|---|---|
Name |
A DNS name. |
| Exceptions | |
|---|---|
AbsoluteConcatenation |
Raised if an attempt is made to append anything other than the empty name to an absolute name. |
BadEscape |
Raised if an escaped code in a text format name is invalid. |
BadLabelType |
Raised if the label type of a wire format name is unknown. |
BadPointer |
Raised if a compression pointer points forward instead of backward. |
EmptyLabel |
Raised if a label is empty. |
LabelTooLong |
Raised if a label is > 63 octets long. |
NameTooLong |
Raised if a name is > 255 octets long. |
NeedAbsoluteNameOrOrigin |
Raised if an attempt is made to convert a non-absolute name to wire when there is also a non-absolute (or missing) origin. |
| Function Summary | |
|---|---|
| dns.name.Name object |
Convert text into a Name object. |
| (dns.name.Name object, int) tuple |
Convert possibly compressed wire format into a Name. |
| Variable Summary | |
|---|---|
| dns.name.Name object | empty
- The empty DNS name. |
int |
NAMERELN_COMMONANCESTOR
|
int |
NAMERELN_EQUAL
|
int |
NAMERELN_NONE
|
int |
NAMERELN_SUBDOMAIN
|
int |
NAMERELN_SUPERDOMAIN
|
| dns.name.Name object | root
- The DNS root name. |
| Function Details |
|---|
from_text(text, origin=<DNS name .>)Convert text into a Name object.
|
from_wire(message, current)Convert possibly compressed wire format into a Name.
|
| Variable Details |
|---|
emptyThe empty DNS name.
|
NAMERELN_COMMONANCESTOR
|
NAMERELN_EQUAL
|
NAMERELN_NONE
|
NAMERELN_SUBDOMAIN
|
NAMERELN_SUPERDOMAIN
|
rootThe DNS root name.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 1.1 on Sat Aug 2 15:09:34 2003 | http://epydoc.sf.net |