From: Pieter Lexis Date: Thu, 12 Mar 2026 17:13:26 +0000 (+0100) Subject: feat(pb): Add an "Internal" message type X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ce77b46f8419569d366e660270858df9692e57f;p=thirdparty%2Fpdns.git feat(pb): Add an "Internal" message type --- diff --git a/pdns/dnsmessage.proto b/pdns/dnsmessage.proto index f459e993d7..2a55e8156b 100644 --- a/pdns/dnsmessage.proto +++ b/pdns/dnsmessage.proto @@ -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) diff --git a/pdns/protozero.hh b/pdns/protozero.hh index c33b0a3ce6..3e813f1773 100644 --- a/pdns/protozero.hh +++ b/pdns/protozero.hh @@ -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 {