summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorItalo Maia <imaia@morphus.com.br>2017-01-09 17:42:52 -0300
committerGitHub <noreply@github.com>2017-01-09 17:42:52 -0300
commit3ecb0e446c8ce3abd958d7ee8b5341d2e6537b73 (patch)
tree2ec47a869b7ab19a2fcf012dc492fd2c3a9a9318 /dns
parent6b6117d6bd822cf8b8dd313687c8534e6fbc7dbb (diff)
downloaddnspython-3ecb0e446c8ce3abd958d7ee8b5341d2e6537b73.tar.gz
Adding comment for each flag
Reference http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-12
Diffstat (limited to 'dns')
-rw-r--r--dns/flags.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/dns/flags.py b/dns/flags.py
index 388d6aa..a6bc096 100644
--- a/dns/flags.py
+++ b/dns/flags.py
@@ -18,15 +18,22 @@
# Standard DNS flags
QR = 0x8000
+# Authoritative Answer
AA = 0x0400
+# Truncated Response
TC = 0x0200
+# Recursion Desired
RD = 0x0100
+# Recursion Available
RA = 0x0080
+# Authentic Data
AD = 0x0020
+# Checking Disabled
CD = 0x0010
# EDNS flags
+# DNSSEC answer OK
DO = 0x8000
_by_text = {