I set up DNSSEC on my private domain many years ago and unfortunately forgot all about it. Bind now tells me it's about to deprecate auto-dnssec in favour of dnssec-policy and I need to migrate my configuration.
I can see my keys are using RSASHA256 and if I understand the documentation correctly I need to define the KSK and ZSK key sizes in the policy like this:
dnssec-policy "mypolicy" {
keys {
ksk lifetime unlimited algorithm RSASHA256 <key-size>;
zsk lifetime unlimited algorithm RSASHA256 <key-size>;
};
};
But how do I know what key-sizes I'm currently using? I created them so many years ago and no longer remember.
Regards
Morgan