message-rcode.rst 816 B

123456789101112131415161718192021222324252627
  1. .. _message-rcode:
  2. Message Rcodes
  3. --------------
  4. A DNS Rcode describes the result of a DNS request. If EDNS is not in
  5. use, then the rcode is encoded solely in the DNS header. If EDNS is
  6. in use, then the rcode is encoded using bits form both the header and
  7. the EDNS OPT RR.
  8. .. autodata:: dns.rcode.NOERROR
  9. .. autodata:: dns.rcode.FORMERR
  10. .. autodata:: dns.rcode.SERVFAIL
  11. .. autodata:: dns.rcode.NXDOMAIN
  12. .. autodata:: dns.rcode.NOTIMP
  13. .. autodata:: dns.rcode.REFUSED
  14. .. autodata:: dns.rcode.YXDOMAIN
  15. .. autodata:: dns.rcode.YXRRSET
  16. .. autodata:: dns.rcode.NXRRSET
  17. .. autodata:: dns.rcode.NOTAUTH
  18. .. autodata:: dns.rcode.NOTZONE
  19. .. autodata:: dns.rcode.BADVERS
  20. .. autofunction:: dns.rcode.from_text
  21. .. autofunction:: dns.rcode.to_text
  22. .. autofunction:: dns.rcode.from_flags
  23. .. autofunction:: dns.rcode.to_flags