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 you opened the manpage for ldns, the DNS library, and honestly? slay. this one's a lil bite-sized function but she's important, so let's get into it. πŸŽ€


✨ NAME ✨

ldns_dname2canonical β€” canonicalize a dname. that's it, that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

first you gotta pull in the headers, no cap:

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

#include <ldns/ldns.h>

void ldns_dname2canonical(const ldns_rdf *rdf);

look at her. void return, one const ldns_rdf * argument, zero drama. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so ldns_dname2canonical() takes a dname and puts it into canonical fmt β€” meaning it lowercases it. that's the whole job, bestie. she's a lowercase girlie and she's thriving. ✨

  • rdf β€” the dname to lowercase 🫢
  • Returns void. literally nothing comes back. not a value, not an error code, nothing. she does the thing and she leaves. main character energy fr fr. πŸ’€
ngl this is one of those functions where the side effect is the point β€” the rdf you handed in comes out lowercase. don't go looking for a return value, there isn't one. πŸ™ˆ

πŸ’œ AUTHOR πŸ’œ

the ldns team at NLnet Labs. iconic behavior, we love them, we stan. πŸ‘‘


πŸ”₯ REPORTING BUGS πŸ”₯

found a bug? do not suffer in silence, bestie, tell someone:

they wanna hear from you, fr. 🫢


Copyright (c) 2004 - 2006 NLnet Labs.

Licensed under the BSD License.

and hear me when i say this: there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, none. zero. nada. use her at your own risk, gorgeous. πŸ’…

⭐ SEE ALSO ⭐

go read these too, they're the lore:

iykyk. πŸ“šβœ¨


πŸŽ€ REMARKS πŸŽ€

real talk: this manpage was automatically generated from the ldns source code. so if something reads a lil stiff, blame the generator, not us. 🧚


and that's the whole page, bestie!! go lowercase those dnames and live your truth. mwah. πŸ’–βœ¨πŸŒΈπŸ¦‹πŸ’…

this lil number is from ldns(3), dated 30 May 2006 β€” yeah she's vintage, she's a classic, she's been serving canonical form since 2006 and she's not stopping. periodt. πŸ‘‘