Closed tlaguz closed 2 years ago
Sorry for the delay. Got a few things on my plate lately. I believe I understand the issue. I'll change a few things and come back with some fix. Can you tell me about your environment? Linux, BSD? Which distro? Thanks.
I'm running OpenBSD 6.9. When you will have the fix ready I can test it on my setup before merging
I've done some digging and found out that:
/etc/dnssec-reverb.conf
. It is always required, so I suggest moving it from the configuration to $KEY2DS_CMD
execution.-n
option in lines 173 and 176, and between two example config files. Fixed in patch.ldns-key2ds
doesn't accept options enclosed in ""
. Please check out the example below:ns1# ds="-n -2"
ns1# /usr/local/bin/ldns-key2ds "$ds" /var/nsd/zones/master/dnssec-reverb-db/keydir/Kexample.com.+014+55643.key
Kexample.com.+014+55643
ns1# /usr/local/bin/ldns-key2ds $ds /var/nsd/zones/master/dnssec-reverb-db/keydir/Kexample.com.+014+55643.key
example.com. 3600 IN DS 55643 14 2 <valid hash here>
I will create a pull request with proposed changes in a minute. The changes work on my OpenBSD 7.1 based ns.
Added domain by:
dnssec-reverb keygen example.com
Status output is missing digest:
My config in
/etc/dnssec-reverb.conf
:It appears that this line (173 and 176) is not correct:
ldns-key2ds
returns filename according to it's manual:so I don't understand what should be the input of the
awk
command.