Browse Source

chore(nslord,nsmaster): upgrade to PowerDNS auth 4.6

Peter Thomassen 3 years ago
parent
commit
0403b4186c
4 changed files with 4 additions and 4 deletions
  1. 1 1
      api/desecapi/models.py
  2. 1 1
      nslord/Dockerfile
  3. 1 1
      nsmaster/Dockerfile
  4. 1 1
      test/e2e2/spec/test_api_rrset.py

+ 1 - 1
api/desecapi/models.py

@@ -587,7 +587,7 @@ class Donation(ExportModelOperationsMixin('Donation'), models.Model):
 # known, but unsupported types
 RR_SET_TYPES_UNSUPPORTED = {
     'ALIAS',  # Requires signing at the frontend, hence unsupported in desec-stack
-    'IPSECKEY',  # broken in pdns, https://github.com/PowerDNS/pdns/issues/10589 TODO enable with pdns auth >= 4.6.0
+    'IPSECKEY',  # broken in pdns, https://github.com/PowerDNS/pdns/issues/10589 TODO enable with pdns auth >= 4.7.0
     'KEY',  # Application use restricted by RFC 3445, DNSSEC use replaced by DNSKEY and handled automatically
     'WKS',  # General usage not recommended, "SHOULD NOT" be used in SMTP (RFC 1123)
 }

+ 1 - 1
nslord/Dockerfile

@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y \
 		faketime \
 	--no-install-recommends && apt-get clean && rm -rf /var/lib/apt/lists/*
 
-RUN echo 'deb [arch=amd64] http://repo.powerdns.com/ubuntu bionic-auth-45 main' \
+RUN echo 'deb [arch=amd64] http://repo.powerdns.com/ubuntu bionic-auth-46 main' \
       >> /etc/apt/sources.list \
  && echo 'Package: pdns-*' \
       > /etc/apt/preferences.d/pdns \

+ 1 - 1
nsmaster/Dockerfile

@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y \
 		dirmngr gnupg \
 	--no-install-recommends && apt-get clean && rm -rf /var/lib/apt/lists/*
 
-RUN echo 'deb [arch=amd64] http://repo.powerdns.com/ubuntu bionic-auth-45 main' \
+RUN echo 'deb [arch=amd64] http://repo.powerdns.com/ubuntu bionic-auth-46 main' \
       >> /etc/apt/sources.list \
  && echo 'Package: pdns-*' \
       > /etc/apt/preferences.d/pdns \

+ 1 - 1
test/e2e2/spec/test_api_rrset.py

@@ -46,9 +46,9 @@ from conftest import DeSECAPIV1Client
         ('other', 'CNAME'): (3603, {'cname.example.com.'}),  # configure CNAME instead of ...
         ('other', 'TXT'): (3600, {}),  # ... TXT
         ('nonexistent', 'DNAME'): (3600, {}),  # delete something that doesn't exist
-        ('sub', 'DNSKEY'): (3600, {'257 3 15 l02Woi0iS8Aa25FQkUd9RMzZHJpBoRQwAQEX1SxZJA4='}),  # non-apex DNSSEC
         ('sub', 'CDNSKEY'): (3600, {'257 3 15 l02Woi0iS8Aa25FQkUd9RMzZHJpBoRQwAQEX1SxZJA4='}),  # non-apex DNSSEC
         ('sub', 'CDS'): (3600, {'35217 15 2 401781b934e392de492ec77ae2e15d70f6575a1c0bc59c5275c04ebe80c6614c'}),  # dto.
+        # ('sub', 'DNSKEY'): (3600, {'257 3 15 l02Woi0iS8Aa25FQkUd9RMzZHJpBoRQwAQEX1SxZJA4='})  # no pdns support >= 4.6
     },
 ])
 def test(api_user_domain_rrsets: DeSECAPIV1Client, rrsets: dict):