]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
feat(pb): Add an "Internal" message type
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 12 Mar 2026 17:13:26 +0000 (18:13 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 1 Jun 2026 10:51:43 +0000 (12:51 +0200)
pdns/dnsmessage.proto
pdns/protozero.hh

index f459e993d74ed11ea552e41b83abc42a29cdddc7..2a55e8156b3ac0514b1ef100045ac68dd586df95 100644 (file)
@@ -31,6 +31,7 @@ message PBDNSMessage {
     DNSResponseType = 2;                        // Response returned by the service
     DNSOutgoingQueryType = 3;                   // Query sent out by the service to a remote server
     DNSIncomingResponseType = 4;                // Response returned by the remote server
+    InternalType = 5;                           // Message generated by an internal process within the server
   }
   enum SocketFamily {
     INET = 1;                                   // IPv4 (RFC 791)
index c33b0a3ce673b0199cdfe86a6a2cd8b751f2ec0e..3e813f177302e153641de12c84e6e32561adddc4 100644 (file)
@@ -70,7 +70,8 @@ namespace ProtoZero
       DNSQueryType = 1,
       DNSResponseType = 2,
       DNSOutgoingQueryType = 3,
-      DNSIncomingResponseType = 4
+      DNSIncomingResponseType = 4,
+      InternalType = 5
     };
     enum class Field : protozero::pbf_tag_type
     {