]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: api, remove CDS and CDNSKEY for now, in favor of https://www.ietf.org/archive... 10959/head
authorKees Monshouwer <mind04@monshouwer.org>
Mon, 8 Nov 2021 10:54:53 +0000 (11:54 +0100)
committermind04 <mind04@monshouwer.org>
Mon, 8 Nov 2021 10:55:21 +0000 (11:55 +0100)
pdns/ws-auth.cc
regression-tests.api/test_Zones.py

index c63b0cf8b6f5510b6b702bf2e6b591ad3c4dccae..5c062b63a5221bf909c6d5fb675f79ba99a73150 100644 (file)
@@ -59,7 +59,7 @@ static const std::set<uint16_t> onlyOneEntryTypes = { QType::CNAME, QType::DNAME
 // QTypes that MUST NOT be used with any other QType on the same name.
 static const std::set<uint16_t> exclusiveEntryTypes = { QType::CNAME };
 // QTypes that MUST be at apex.
-static const std::set<uint16_t> atApexTypes = {QType::SOA, QType::DNSKEY, QType::CDNSKEY, QType::CDS};
+static const std::set<uint16_t> atApexTypes = {QType::SOA, QType::DNSKEY};
 // QTypes that are NOT allowed at apex.
 static const std::set<uint16_t> nonApexTypes = {QType::DS};
 
index d163185f835bae151b5668aa3ab80a813cb9fabf..bd12e81bc83daca294a3645011449fe4be6aca22 100644 (file)
@@ -1471,8 +1471,6 @@ $ORIGIN %NAME%
     @parameterized.expand([
         ('SOA', 'ns1.example.org. test@example.org. 10 10800 3600 604800 1800'),
         ('DNSKEY', '257 3 8 AwEAAb/+pXOZWYQ8mv9WM5dFva8WU9jcIUdDuEjldbyfnkQ/xlrJC5zAEfhYhrea3SmIPmMTDimLqbh3/4SMTNPTUF+9+U1vpNfIRTFadqsmuU9Fddz3JqCcYwEpWbReg6DJOeyu+9oBoIQkPxFyLtIXEPGlQzrynKubn04Cx83I6NfzDTraJT3jLHKeW5PVc1ifqKzHz5TXdHHTA7NkJAa0sPcZCoNE1LpnJI/wcUpRUiuQhoLFeT1E432GuPuZ7y+agElGj0NnBxEgnHrhrnZWUbULpRa/il+Cr5Taj988HqX9Xdm6FjcP4Lbuds/44U7U8du224Q8jTrZ57Yvj4VDQKc='),
-        ('CDNSKEY', '0 3 0 AA=='),
-        ('CDS', '0 0 0 00'),
     ])
     def test_only_at_apex(self, qtype, content):
         name, payload, zone = self.create_zone(soa_edit_api='')