ldns(3)
π ldns(3) β the DNSSEC data chain bestie guide π
okay so, real talk, this is the ldns(3) library functions manual, and today's episode is all about the DNSSEC data chain: making it, yeeting it, deep-yeeting it, and printing it. ldns_chain creation, destruction and printing, the whole arc. πβ¨
β¨ NAME β¨
ldns_dnssec_data_chain_new, ldns_dnssec_data_chain_free, ldns_dnssec_data_chain_deep_free, ldns_dnssec_build_data_chain, ldns_dnssec_data_chain_print β ldns_chain creation, destruction and printing. like, the full life cycle of a chain. birth, death, dramatic death, and β¨aestheticβ¨ display. π
π SYNOPSIS π
bestie, you gotta include these first, no skips:
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_dnssec_data_chain* ldns_dnssec_data_chain_new(void);
void ldns_dnssec_data_chain_free(ldns_dnssec_data_chain *chain);
void ldns_dnssec_data_chain_deep_free(ldns_dnssec_data_chain *chain);
ldns_dnssec_data_chain* ldns_dnssec_build_data_chain(ldns_resolver *res,
const uint16_t qflags, const ldns_rr_list *data_set, const ldns_pkt
*pkt, ldns_rr *orig_rr);
void ldns_dnssec_data_chain_print(FILE *out, const
ldns_dnssec_data_chain *chain);
like, that's the whole cast list. π«Ά
π¦ DESCRIPTION π¦
ldns_dnssec_data_chain_new()β Creates a new dnssec_chain structure. baby chain, fresh out the box, no notes. it returnsldns_dnssec_data_chain *. π±ldns_dnssec_data_chain_free()β Frees a dnssec_data_chain structure. just the chain itself, bestie, that's it.*chain: The chain to free
ldns_dnssec_data_chain_deep_free()β Frees a dnssec_data_chain structure, and all data contained therein. this is the dramatic one. it takes everything with it. π*chain: The dnssec_data_chain to free
ldns_dnssec_build_data_chain()β Build anldns_dnssec_data_chain, which contains all DNSSEC data that is needed to derive the trust tree later. yes, the trust tree. we love a tree that we can actually trust. π³β¨
heads up: The data_set will be cloned. so don't be weird about it, your original stays safe.
*res: resolver structure for further needed queriesqflags: resolution flags*data_set: The original rrset where the chain ends*pkt: optional, can contain the original packet (and hence the sigs and maybe the key)*orig_rr: The original Resource Record
Returns the DNSSEC data chain. slay. π
ldns_dnssec_data_chain_print()β Prints the dnssec_data_chain to the given file stream. show it off, it worked hard.*out: The file stream to print to*chain: The dnssec_data_chain to print
π AUTHOR π
The ldns team at NLnet Labs. genius behaviour, honestly. π
π REPORTING BUGS π
Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues. found a bug? tell the girlies, they'll fix it. no cap. π₯
πΈ 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. like literally none, bestie. zero. don't come for them. π
π SEE ALSO π
ldns_dnssec_data_chain. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. required reading, iykyk. π
π REMARKS π
This manpage was automatically generated from the ldns source code. not me being a robot-written icon π€β¨
okay that's the whole page, mwah π
and finally, the cute sign-off: this vibe dropped on 30 May 2006, and it's page ldns(3) of the library functions manual. old but iconic, periodt. ππ
π¦ 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