ldns(3)
π ldns β the library functions manual, but make it a group chat π
okay bestie, welcome to ldns(3), the Library Functions Manual page. this is the part of the ldns world where we talk about one single function and honestly? it's a cute one. let's get into it π«Ά
β¨ NAME β¨
ldns_rdf_address_reverse β reverse an address rdf π
like. that's it. that's the whole name. iconic.
β¨ SYNOPSIS β¨
the vibes, in code form π
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_rdf* ldns_rdf_address_reverse(const ldns_rdf *rd);
β¨ DESCRIPTION β¨
so ldns_rdf_address_reverse() reverses an rdf. yes, reverses. and lowkey? it's only actually useful for AAAA and A records. everything else is just kinda standing there π
the tea you NEED to know: the returned rdf has the type LDNS_RDF_TYPE_DNAME! not whatever type you handed in. it comes back as a DNAME. periodt.
here's the deets on the argument and the return, in the original order:
*rdβ the rdf to be reversed π§- Returns the reversed rdf (a newly created rdf) β¨
so yeah, it hands you a brand new rdf. main character energy. you didn't get your old one back, you got a glow-up version π¦
β¨ AUTHOR β¨
The ldns team at NLnet Labs. π
β¨ REPORTING BUGS β¨
found a bug? not the vibe, but pls tell someone!! π
Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues
β¨ 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. π
fr fr, no warranty. none. zero. don't come for them if it breaks, that's the deal.
β¨ SEE ALSO β¨
go read these next, bestie, they're required reading π
β¨ REMARKS β¨
This manpage was automatically generated from the ldns source code. π€ (yes, a robot wrote it. we're just making it cute.)
πΈ and that's the whole page!! sign-off time: this was the ldns(3) manual page, dated 30 May 2006. yeah. 2006. ancient. still slaying tho π
β¨
π¦ 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