| Home | Trees | Index | Help |
|
|---|
| Package dns :: Module rcode |
|
| Exceptions | |
|---|---|
UnknownRcode |
Raised if an rcode is unknown. |
| Function Summary | |
|---|---|
| int |
Return the rcode value encoded by flags and ednsflags. |
| int |
Convert text into an rcode. |
| (int, int) tuple |
Return a (flags, ednsflags) tuple which encodes the rcode. |
| string |
Convert rcode into text. |
| Variable Summary | |
|---|---|
int |
BADVERS = 16 |
int |
FORMERR = 1 |
int |
NOERROR = 0 |
int |
NOTAUTH = 9 |
int |
NOTIMP = 4 |
int |
NOTZONE = 10 |
int |
NXDOMAIN = 3 |
int |
NXRRSET = 8 |
int |
REFUSED = 5 |
int |
SERVFAIL = 2 |
int |
YXDOMAIN = 6 |
int |
YXRRSET = 7 |
dict |
_by_text = {'YXRRSET': 7, 'FORMERR': 1, 'NXRRSET': 8, 'N...
|
dict |
_by_value = {0: 'NOERROR', 1: 'FORMERR', 2: 'SERVFAIL', ...
|
| Function Details |
|---|
from_flags(flags, ednsflags)Return the rcode value encoded by flags and ednsflags.
|
from_text(text)Convert text into an rcode.
|
to_flags(value)Return a (flags, ednsflags) tuple which encodes the rcode.
|
to_text(value)Convert rcode into text.
|
| Variable Details |
|---|
BADVERS
|
FORMERR
|
NOERROR
|
NOTAUTH
|
NOTIMP
|
NOTZONE
|
NXDOMAIN
|
NXRRSET
|
REFUSED
|
SERVFAIL
|
YXDOMAIN
|
YXRRSET
|
_by_text
|
_by_value
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Jan 30 10:41:35 2005 | http://epydoc.sf.net |