From b022571253ee828aab1e997a03e0205d439aff7f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 14 Sep 2022 22:53:37 -0400 Subject: [PATCH] bin/djbdns-logparse.py: add some newer type mappings. I've added srv, naptr, dnskey, tlsa, https, and caa type mappings based on what my own logs contain. Only SRV is actually supported by tinydns. There are probably others in use today that will show up eventually. --- bin/djbdns-logparse.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/djbdns-logparse.py b/bin/djbdns-logparse.py index 50161fa..bfb2913 100755 --- a/bin/djbdns-logparse.py +++ b/bin/djbdns-logparse.py @@ -33,9 +33,15 @@ query_type = { 24: "sig", 25: "key", 28: "aaaa", + 33: "srv", + 35: "naptr", 38: "a6", + 48: "dnskey", + 52: "tlsa", + 65: "https", 252: "axfr", 255: "any", + 257: "caa" } # for tinydns only -- 2.44.2