ldns(3)
π 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: theldns_keyto convert- Returns
ldns_rrrepresentation 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 π
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 πβ¨π¦π
π¦ 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