[Pdns-users] LUA records + DNSSEC
Martijn Grendelman
martijn.grendelman at isaac.nl
Wed May 27 11:22:51 UTC 2020
Hi!
Thank you, that seems to work: importing the key and setting the zone to
'not presigned' leads to RRSIG records being produced on the slaves.
However, when I edit the zone on the master and trigger a transfer to
the slaves, the 'PRESIGNED' flag returns on the zone, which is
documented behaviour:
/PowerDNS sets this flag automatically upon incoming zone transfers
(AXFR) if it detects DNSSEC records in the zone. /
So, I guess I have to either tell the slave to discard the incoming
DNSSEC records or at least not set the PRESIGNED flag, or tell the
master not to send them in the AXFR.
Is there any way to do either?
Best regards,
Martijn.
Op 27-5-2020 om 12:18 schreef Edward Dore:
> Hi Martijn,
>
> Native zones with replication might be the easiest from a management
> point of view (remember to encrypt the replication data so that you
> don’t expose your keys), but online signing should work fine with
> slave zones.
>
> Use "pdnsutil export-zone-key” to export the private key on the
> master, securely copy it to the slave servers somehow and then import
> it with "pdnsutil import-zone-key”.
>
> You’re probably going to need to use "pdnsutil unset-presigned” as
> well as the zones are pre-signed at the moment.
>
> Make sure you set any NSEC/NSEC3 parameters etc. the same on the slave
> servers - basically make the output of "pdnsutil show-zone” match
> between the master and slave.
>
> Edward Dore
> Freethought Internet
>
>> On 27 May 2020, at 10:39, Martijn Grendelman via Pdns-users
>> <pdns-users at mailman.powerdns.com
>> <mailto:pdns-users at mailman.powerdns.com>> wrote:
>>
>> Hi,
>>
>> We have a simple setup with a PowerDNS master and two PowerDNS slaves
>> (AXFR). Our zones are generally signed with DNSSEC and everything
>> has been working fine. Recently, I started experimenting with LUA
>> records, and for those, we're seeing problems (SERVFAIL) when we
>> query them through 3rd party resolvers.
>>
>> At first, I seem to have missed this tiny paragraph in the
>> documentation for LUA records:
>>
>> "LUA records can be DNSSEC signed, but because they are dynamic, it
>> is not possible to combine pre-signed DNSSEC zone and LUA records. In
>> other words, the signing key must be available on the server creating
>> answers based on LUA records."
>>
>> It makes sense, and indeed, when I query the slaves for the LUA
>> records, I don't get any RRSIGs, so I suspect that this must be the
>> problem.
>>
>> My question is: /how/ do I make the signing key availabe on the
>> slaves? Does this imply that I have to switch to a form of native
>> replication, or is there a way to make this work with AXFR? I spent a
>> few hours Googling for this, but I haven't found any clues.
>>
>> Met vriendelijke groet,
>> Best regards,
>>
>> Martijn Grendelman
>>
>>
>>
>> _______________________________________________
>> Pdns-users mailing list
>> Pdns-users at mailman.powerdns.com <mailto:Pdns-users at mailman.powerdns.com>
>> https://mailman.powerdns.com/mailman/listinfo/pdns-users
>
--
Met vriendelijke groet,
Kind regards,
Martijn <mailto:martijn.grendelman at isaac.nl>
Martijn Grendelman Infrastructure Architect
T: +31 (0)40 264 94 44
ISAAC <https://www.isaac.nl>
ISAAC Marconilaan 16 5621 AA Eindhoven The Netherlands
T: +31 (0)40 290 89 79 www.isaac.nl <https://www.isaac.nl>
#1 Fullservice Digital Agency 2020 2019 2018 <https://www.isaac.nl/awards>
Dit e-mail bericht is alleen bestemd voor de geadresseerde(n). Indien
dit bericht niet voor u is bedoeld wordt u verzocht de afzender hiervan
op de hoogte te stellen door het bericht te retourneren en de inhoud
niet te gebruiken. Aan dit bericht kunnen geen rechten worden ontleend.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200527/488a046a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fcieaddcahjadkfe.gif
Type: image/gif
Size: 43 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200527/488a046a/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cckgkhemijannemp.gif
Type: image/gif
Size: 6155 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200527/488a046a/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cldpnookmfgkeifl.gif
Type: image/gif
Size: 2826 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200527/488a046a/attachment-0005.gif>
More information about the Pdns-users
mailing list