Home | Trees | Indices | Help |
|
---|
|
DNS Result Codes.
|
|||
UnknownRcode A DNS rcode is unknown. |
|
|||
|
|||
|
|||
|
|||
|
|
|||
NOERROR = 0
|
|||
FORMERR = 1
|
|||
SERVFAIL = 2
|
|||
NXDOMAIN = 3
|
|||
NOTIMP = 4
|
|||
REFUSED = 5
|
|||
YXDOMAIN = 6
|
|||
YXRRSET = 7
|
|||
NXRRSET = 8
|
|||
NOTAUTH = 9
|
|||
NOTZONE = 10
|
|||
BADVERS = 16
|
|||
_by_text =
|
|||
_by_value =
|
|||
__package__ =
|
|
Convert text into an rcode. *text*, a ``text``, the textual rcode or an integer in textual form. Raises ``dns.rcode.UnknownRcode`` if the rcode mnemonic is unknown. Returns an ``int``. |
Return the rcode value encoded by flags and ednsflags. *flags*, an ``int``, the DNS flags field. *ednsflags*, an ``int``, the EDNS flags field. Raises ``ValueError`` if rcode is < 0 or > 4095 Returns an ``int``. |
Return a (flags, ednsflags) tuple which encodes the rcode. *value*, an ``int``, the rcode. Raises ``ValueError`` if rcode is < 0 or > 4095. Returns an ``(int, int)`` tuple. |
Convert rcode into text. *value*, and ``int``, the rcode. Raises ``ValueError`` if rcode is < 0 or > 4095. Returns a ``text``. |
|
_by_text
|
_by_value
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Dec 8 10:59:54 2018 | http://epydoc.sourceforge.net |