ldns(3)
β¨ ldns(3) β the library functions manual, bestie edition β¨
okay so this is a page from the ldns manual, section 3 (that's the "library functions" girlies π
). today's episode: calculating keytags, fr fr. let's get into it π
πΈ NAME πΈ
ldns_calc_keytag, ldns_calc_keytag_raw β calculate ldns keytag
β¨ SYNOPSIS β¨
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
uint16_t ldns_calc_keytag(const ldns_rr *key);
uint16_t ldns_calc_keytag_raw(const uint8_t* key, size_t keysize);
like, just include those headers and you're set π«Ά
π DESCRIPTION π
ldns_calc_keytag() calculates a keytag of a key for use in DNSSEC. she's giving "i do one thing and i do it well" π
key: the key as an RR to use for the calc.- Returns the keytag
ldns_calc_keytag_raw() Calculates keytag of DNSSEC key, operates on wireformat rdata. lowkey the same energy, just rawer π₯
key: the key as uncompressed wireformat rdata.keysize: length of key data.- Returns the keytag
not me noticing both of these just... hand you back the keytag. that's it. that's the whole job. iconic. π
π¦ AUTHOR π¦
The ldns team at NLnet Labs.
π REPORTING BUGS π
Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues
found a bug? tell the ldns team, not me, i'm just the messenger π
π COPYRIGHT π
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
the "NO warranty" is in all caps in the original for a reason, bestie. no cap. π
β SEE ALSO β
ldns_key. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
π§ REMARKS π§
This manpage was automatically generated from the ldns source code.
yeah so a robot wrote this one. slay, honestly π€β¨
and that's the whole page! this one's from way back β 30 May 2006 β and it lives in the ldns(3) manual, section 3, library functions. periodt. ππ«ΆπΈ
π¦ where this page comes from
- alpine 3.22: ldns-doc 1.8.4-r0 Β· BSD-3-Clause
- alpine 3.23: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- alpine 3.24: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- arch rolling: ldns 1.9.2-1 Β· custom:BSD
- debian trixie: libldns-dev 1.8.4-2+b1
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- nixos 26.05: ldns 1.9.2
- nixpkgs unstable: ldns 1.9.2
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- ubuntu questing: libldns-dev 1.8.4-2build1
- ubuntu resolute: libldns-dev 1.8.4-2build3
- ubuntu stonking: libldns-dev 1.9.2-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms