From: Italo Maia Date: Mon, 9 Jan 2017 20:42:52 +0000 (-0300) Subject: Adding comment for each flag X-Git-Tag: v1.16.0~81^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ecb0e446c8ce3abd958d7ee8b5341d2e6537b73;p=thirdparty%2Fdnspython.git Adding comment for each flag Reference http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-12 --- diff --git a/dns/flags.py b/dns/flags.py index 388d6aaa..a6bc0960 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 = {