GETDNSKEYS(1)
π GETDNSKEYS π
okay so bestie, welcome to getdnskeys, a little icon from the User Contributed Perl Documentation corner of the world. she's giving chaos, she's giving DNSSEC, she's giving "please don't run me without reading the warnings" energy. let's get into it π
β¨ NAME β¨
getdnskeys β manage lists of DNSKEYs from DNS zones ποΈ
πΈ SYNOPSIS πΈ
getdnskeys [-i file] [-o file] [-k] [-T] [-t] [-v] [zones]
π¦ DESCRIPTION π¦
so getdnskeys manages lists of DNSKEYs from DNS zones. literally her whole job. you can use her to retrieve DNSKEYs and to compare DNSKEYs, which is lowkey the two things you'd want from a key-list manager. π
and here's the cute part: the output from getdnskeys can be included β directly or indirectly β in a named.conf file. so she's not just vibing, she's actually feeding your name server. main character behavior fr fr. π
π OPTIONS π
getdnskeys takes the following options, and yes, we're doing all of them, no skipping:
-ipath β reads path as anamed.confand compares your key lists against it. like a vibe check but for keys. π«Ά-kβ only looks for Key Signing Keys (KSKs). every other key gets ignored, no thoughts head empty, not their moment. β¨-ofile β writes the results to file. yes the file. that one.-Tβ checks the current trusted key list fromnamed.conf. π-tβ encloses the output in thenamed.confsyntax markers it needs. the little outfit change before she goes out. π-vβ turns on verbose mode for extra output. she will tell you EVERYTHING. she will not stop. π-Versionβ displays the version information forgetdnskeysand the DNSSEC-Tools package. yes it's capital-V, respect her name pls.-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 π
bestie. sit down. this is the part where we get real. π«£
currently this does not validate new keys placed in the file in any way. not even a little. no vibe check, no background check, nothing. it also does not validate change over keys which have been added. π
it also does not handle revocation of keys. so if you were hoping for that, nope, not happening.
it should prompt you before adding a new key so that you can always run the auto-update feature. that's the dream. that's the goal. that is not currently what happens. π
so yeah. that's getdnskeys. handle her with care, read the security section twice, and don't let her auto-update unsupervised. π§
this little page came to you from perl v5.42.0 and it was dated 2025-07-23 β thanks for scrolling all the way down, love u, bye bestie ππ¦πΈ
π¦ where this page comes from
- fedora 43: dnssec-tools 2.2.3-30.fc43 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms