]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update our protocol buffer message definitions to include more protocols
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 21 Oct 2021 14:05:54 +0000 (16:05 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 21 Oct 2021 14:05:54 +0000 (16:05 +0200)
Proposed upstream: https://github.com/PowerDNS/dnsmessage/pull/5

pdns/dnsmessage.proto

index 60ffc6972f436a82d78f2ad8d14649848ffa18d3..ef6b77436797c2d50cb2c2e909504d4fb77fa09f 100644 (file)
@@ -39,6 +39,10 @@ message PBDNSMessage {
   enum SocketProtocol {
     UDP = 1;                                    // User Datagram Protocol (RFC 768)
     TCP = 2;                                    // Transmission Control Protocol (RFC 793)
+    DOT = 3;                                    // DNS over TLS (RFC 7858)
+    DOH = 4;                                    // DNS over HTTPS (RFC 8484)
+    DNSCryptUDP = 5;                            // DNSCrypt over UDP (https://dnscrypt.info/protocol)
+    DNSCryptTCP = 6;                            // DNSCrypt over TCP (https://dnscrypt.info/protocol)
   }
   enum PolicyType {
     UNKNOWN = 1;                                // No RPZ policy applied, or unknown type