GETDNSKEYS(1)

πŸ“¦ version 2.2.3, in arch rolling

okay bestie, welcome to GETDNSKEYS(1) from the User Contributed Perl Documentation β€” this is the manual page for getdnskeys, and it's literally all about managing DNSKEY lists. πŸ’–

✨ NAME ✨

getdnskeys β€” manage lists of DNSKEYs from DNS zones, bestie. πŸŽ€

🌸 SYNOPSIS 🌸

    getdnskeys [-i file] [-o file] [-k] [-T] [-t] [-v] [zones]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so getdnskeys manages lists of DNSKEYs from DNS zones. You can use it to retrieve and compare DNSKEYs. The output from getdnskeys may be included β€” directly or indirectly β€” in a named.conf file. no cap, that's the whole vibe. ✨

πŸ’… OPTIONS πŸ’…

getdnskeys takes the following options, bestie:

  • -i path β€” reads path as a named.conf with which to compare key lists. 🫢
  • -k β€” only looks for Key Signing Keys (KSKs); all other keys are ignored. πŸ‘‘
  • -o file β€” writes the results to file. πŸŽ€
  • -T β€” checks the current trusted key list from named.conf. πŸ”₯
  • -t β€” encloses output in needed named.conf syntax markers. ✨
  • -v β€” turns on verbose mode for additional output. πŸ’œ
  • -Version β€” displays the version information for getdnskeys and the DNSSEC-Tools package. 🌈
  • -h β€” gives a help message. πŸ¦‹

🌟 EXAMPLES 🌟

This getdnskeys will retrieve the KSK for example.com:

    getdnskeys -o /etc/named.trustkeys.conf -k -v -t example.com

This getdnskeys will check saved keys against a live set of keys:

    getdnskeys -i /etc/named.trustkeys.conf -T -k -v -t

This getdnskeys will automatically update a set of saved keys:

    getdnskeys -i /etc/named.trustkeys.conf -k -t -T -v
               -o /etc/named.trustkeys.conf

🚨 SECURITY ISSUES 🚨

🚨 security tea: Currently this does not validate new keys placed in the file in any way, nor does it validate change over keys which have been added. 😭

It also does not handle revocation of keys. πŸ’€

It should prompt you before adding a new key so that you can always run the auto-update feature. πŸ™ˆ


πŸ’– that's the tea: the footer says perl v5.44.0, dated 2026-10-17, and the page is GETDNSKEYS(1). slay, you made it to the end. 🫢

πŸ“¦ where this page comes from