[dns-operations] calculating DNSSEC keytags in sed (was: RE: calculating DNSSEC keytags in awk)

Zuleger, Holger, Vodafone DE holger.zuleger at vodafone.com
Thu Apr 16 12:59:06 UTC 2015


> RE: calculating DNSSEC keytags in awk)
> 
> > 	$ dig +noall +answer +multi DNSKEY $zone |
> > 	> sed -n '/KSK/s/^.*= //p'
> > if you only want to see the key id of the KSK.
> 
> If it *has* a KSK; try co.uk. ;-)
Of course, but if you use dnssec-dsfromkey, you also
have to add option -A to get some output.

Holger

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6179 bytes
Desc: not available
URL: <https://lists.dns-oarc.net/pipermail/dns-operations/attachments/20150416/6e19cfc1/attachment.bin>


More information about the dns-operations mailing list