Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - krei.se

#1
Hey Franco,

got around reinstalling the package and starting from scratch, apply your patch and fix it:

After the patch there is only this one change needed to have it working on BIND 9.11.5-P4-5.1+deb10u8-Debian (Extended Support Version):

Line 222:
$cmd = "/usr/local/bin/nsupdate -k /var/etc/K{$i}{$keyname}+157+00000.key";
change to
$cmd = "/usr/local/bin/nsupdate -k /var/etc/K{$i}{$keyname}+157+00000.private";

Which is kinda expected because you apply the needed key format change in the .private file, not the .key file

Thats it, i have successful changes now in server log:

18-Dec-2022 08:15:54.551 update: info: client @0x7fbd480c7230 80.123.34.454#58679/key ns-asdf-rndc-key: updating zone 'asdf.asdf/IN': deleting rrset at 'asdf.asdf.asdf' A
18-Dec-2022 08:15:54.551 update: info: client @0x7fbd480c7230 80.123.34.45#58679/key ns-asdf-rndc-key: updating zone 'asdf.asdf/IN': adding an RR at 'asdf.asdf.asdf' A 80.123.34.45
#2
Hey Franco,

thanks for keeping at this.

I applied the patch and can manually invoke the update now. But in the patch there is still nsupdate command with .key file, not .private

Can you tell me what the etc nsupdatecmds do? I tried to delete them, but they don't seem to get created now :D