[dns-operations] calculating DNSSEC keytags in awk
Frank
linux at dreamofjapan.de
Thu Apr 16 11:08:14 UTC 2015
In our case "dnssec-ds formkey" is not available.
Am Donnerstag, den 16.04.2015, 11:04 +0100 schrieb Tony Finch:
> Frank <linux at dreamofjapan.de> wrote:
> >
> > have you found a solution to your problem "calculating DNSSEC keytags in
> > awk" from Sat Dec 17 12:39:04 UTC 2011?
>
> dig +multiline will show you the key tag, or you can use dnssec-dsfromkey
> and pull the tag out of the result, e.g.
>
> $ dig dnskey $zone | dnssec-dsfromkey -f - $zone | awk 'NR == 1 { print $4 }'
>
> Tony.
More information about the dns-operations
mailing list