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_key2rr β€” bestie edition πŸ’–

okay so this is a page from ldns(3), the Library Functions Manual, and it's about one (1) tiny little function that does one (1) tiny little thing. but it's an important thing, so let's get into it 🫢


✨ NAME ✨

ldns_key2rr β€” convert ldns_key to rr. that's it. that's the whole job. she's a converter, she's an icon, she's booked and busy πŸ’…


🌸 SYNOPSIS 🌸

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

ldns_rr* ldns_key2rr(const ldns_key *k);

look at her. short. sweet. takes a const ldns_key *k, hands you back an ldns_rr*. no cap. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so ldns_key2rr() converts a ldns_key to a public key rr. that's the vibe. that's the whole vibe.

but β€” and this is the part where you gotta pay attention bestie, don't scroll past this β€” if the key data exists at an external point, the corresponding rdata field must still be added with ldns_rr_rdf_push() to the result rr of this function. like, this function does its part, but you still gotta do your part. team effort. main character energy from both of you. πŸ”₯

  • k: the ldns_key to convert
  • Returns ldns_rr representation of the key

slay. that's the return value. that's what you get. 🌈


πŸ‘‘ AUTHOR πŸ‘‘

The ldns team at NLnet Labs. legends, honestly. built different. πŸ’œ


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues

not me encouraging you to file issues but like... if something's broken, say something. they wanna know fr fr. πŸ“


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.

okay so real talk β€” "NO warranty" is in all caps in the original and it means exactly what it says. no takebacks, no refunds, no "but bestie it broke". you're on your own if it eats your data. 🫢

🧚 SEE ALSO 🧚

ldns_key. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.

go read the RFCs if you want the lore. iykyk. ⭐


⭐ REMARKS ⭐

This manpage was automatically generated from the ldns source code.

so if the formatting's a lil weird... not her fault, a robot wrote her. she's doing her best. πŸ’…


and that's the whole page bestie!! this one came from the ldns(3) manual, and it was dated 30 May 2006. twenty-oh-six. ancient. vintage. iconic. go forth and convert your keys πŸŽ€βœ¨πŸ¦‹πŸ’–