ldns(3)
π 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:
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.
π¨ 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_rrldns_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 π«Άπ
π¦ 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