From 3ecb0e446c8ce3abd958d7ee8b5341d2e6537b73 Mon Sep 17 00:00:00 2001 From: Italo Maia Date: Mon, 9 Jan 2017 17:42:52 -0300 Subject: [PATCH] Adding comment for each flag Reference http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-12 --- dns/flags.py | 7 +++++++ 1 file changed, 7 insertions(+) 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 = { -- 2.47.3