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 β€” 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 (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 πŸ’…βœ¨