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 ldns library, bestie edition πŸ’–

okay so this is the manual for ldns, and it lives in section 3 (Library Functions Manual, iykyk). she's a C library, she's iconic, and she's here to help you do DNS things. let's get into it πŸ¦‹


✨ NAME ✨

ldns_rr_uncompressed_size β€” calculates the uncompressed size of an RR

that's it. that's the whole job. one function, one purpose, main character energy πŸ’…


✨ SYNOPSIS ✨

first, the vibes (aka the includes) you gotta bring with you:

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

#include <ldns/ldns.h>

and here's the signature, literally copy it exactly bestie:

size_t ldns_rr_uncompressed_size(const ldns_rr *r);

✨ DESCRIPTION ✨

okay so ldns_rr_uncompressed_size() calculates the uncompressed size of an RR. that's the whole thing. no cap.

here's the tea on the parameter:

  • r: the rr to operate on

and what does she give you back? the size of the rr. returns size of the rr. periodt πŸ’–


✨ AUTHOR ✨

The ldns team at NLnet Labs. give them their flowers πŸ’ they ate.


✨ REPORTING BUGS ✨

found a bug? don't be shy, spill πŸ™ˆ you can report it to:


Copyright (c) 2004 - 2006 NLnet Labs.

Licensed under the BSD License.

🚨 okay important, no skipping: there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. so like, she's free but she's not promising you anything. fr fr. 😭

✨ SEE ALSO ✨

go check out these besties too:

  • ldns_rr
  • ldns_rr_list

And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. that's a whole reading list, lowkey obsessed with the lore πŸ“š


✨ REMARKS ✨

real talk: this manpage was automatically generated from the ldns source code. so yeah, the robots wrote it, not a human with a keyboard and a dream πŸ€–


🌸 and that's the whole page! this was written on 30 May 2006, it's part of the ldns(3) manual, and it comes to you from the ldns source. mwah, take care of her πŸ«ΆπŸ’œ