ldns(3)
π 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:
- email:
dns-team@nlnetlabs.nlπ§ - or open an issue on GitHub at
https://github.com/NLnetLabs/ldns/issues
they wanna hear from you, fr. π«Ά
π COPYRIGHT π
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. π
π¦ 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