]> gitweb.michael.orlitzky.com - djbdns-logparse.git/commitdiff
bin/djbdns-logparse.py: add some newer type mappings.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 15 Sep 2022 02:53:37 +0000 (22:53 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 15 Sep 2022 02:53:37 +0000 (22:53 -0400)
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

index 50161fa827d046885d3f6ea135aeed978cd5e2bd..bfb29135d0fcd6d7a0a769b31f9f4f2f5bd4b02b 100755 (executable)
@@ -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