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 manual page, but make it cute πŸ’–

okay bestie, welcome to ldns(3), the library functions manual for ldns. this page is specifically about one lil function and honestly? she's a baddie. let's get into it πŸŽ€


✨ NAME ✨

ldns_rr2canonical β€” canonicalize a RR

like. the name literally tells you what she does. she canonicalizes a RR. icon behaviour. πŸ‘‘


🌸 SYNOPSIS 🌸

first things first, you gotta pull in the headers, no cap:

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

#include <ldns/ldns.h>

void ldns_rr2canonical(ldns_rr *rr);

notice the void return type. she takes her ldns_rr *rr and she gives you back nothing. she's doing it for herself. main character energy fr fr πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

ldns_rr2canonical() converts each dname in a rr to its canonical form.

that's it. that's the whole vibe. every dname inside the rr gets converted, one by one, into canonical form. no skipping, no shortcuts, she does all of them ✨

  • rr β€” the rr to work on. like, the resource record. you hand her the rr, she does the thing.
  • Returns β€” void. nothing. nada. zero. the function just happens to your rr and walks away πŸšΆβ™€οΈπŸ’¨

πŸ’œ AUTHOR πŸ’œ

The ldns team at NLnet Labs. absolute legends, we stan 🫢


😭 REPORTING BUGS 😭

found a bug? bestie, please tell them, don't just suffer in silence:

they wanna hear from you, fr. it's giving community 🧚


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 lowkey important: there is literally no warranty. none. not even the implied ones about MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. so don't come crying to NLnet Labs if something goes sideways, that's just the deal πŸ’€

⭐ SEE ALSO ⭐

go read these too, iykyk:


πŸ™ˆ REMARKS πŸ™ˆ

This manpage was automatically generated from the ldns source code. so if it reads a lil robotic in places, that's why β€” she was born in a build script, not a poetry slam πŸ€–βœ¨


and that's the whole page bestie!! this one came straight out of the source code and landed on 30 May 2006, tagged as ldns(3) β€” so yeah, she's been iconic since 2006 and she's still serving πŸ’–βœ¨πŸŽ€