diff options
| author | Italo Maia <imaia@morphus.com.br> | 2017-01-09 17:42:52 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-09 17:42:52 -0300 |
| commit | 3ecb0e446c8ce3abd958d7ee8b5341d2e6537b73 (patch) | |
| tree | 2ec47a869b7ab19a2fcf012dc492fd2c3a9a9318 /dns | |
| parent | 6b6117d6bd822cf8b8dd313687c8534e6fbc7dbb (diff) | |
| download | dnspython-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.py | 7 |
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 = { |
