ldns(3)
π 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:
- email:
dns-team@nlnetlabs.nl - or on GitHub at
https://github.com/NLnetLabs/ldns/issues
they wanna hear from you, fr. it's giving community π§
π 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 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:
ldns_rrldns_rr_list- And perldoc
Net::DNS,RFC1034,RFC1035,RFC4033,RFC4034andRFC4035. yes, all five RFCs. she's thorough like that π
π 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 πβ¨π
π¦ 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