ldns(3)

πŸ“¦
version 1.9.2 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 (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. πŸ’œπŸ«ΆπŸŒΈ