ldns(3)
π ldns(3) β the library functions manual, but make it a group chat π
okay bestie, so this is ldns(3), the manual page for the ldns library functions, and today's main character is one very specific little function. she's niche, she's tiny, she's iconic, and we're gonna learn her together. no gatekeeping in this house π«Ά
β¨ NAME β¨
ldns_update_pkt_tsig_add β add the resolver's tsig credentials to an ldns_pkt
like. that's literally her whole job. she takes the tsig vibes off a resolver and plops them onto a packet. simple. elegant. slay π
πΈ SYNOPSIS πΈ
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_status ldns_update_pkt_tsig_add(ldns_pkt *p, const ldns_resolver *r);
look at her. two includes you probably don't think about, the big ldns/ldns.h, and then the girl herself. notice she hands you back an ldns_status β she's always gonna tell you how it went, she's not mysterious like that. π
π¦ DESCRIPTION π¦
ldns_update_pkt_tsig_add() adds tsig credentials to a packet from a resolver. that's it, that's the whole thing β no hidden lore, no side quests, no plot twists.
the two args are giving very much "copy from here, paste to there":
pβ the packet to copy to π¦ (she's the destination, she's receiving the tsig credentials)rβ the resolver to copy from π (she's the source, she's got the credentials to give)
and the return value? she returns status, whether it was successful or not. so like, always check it, bestie. she's communicating with you. listen to her. π
π AUTHOR π
The ldns team at NLnet Labs. kings and queens of the DNS library game, we have no choice but to stan π
π REPORTING BUGS π
found a bug? don't just scream into the void, tell the actual people:
- email:
dns-team@nlnetlabs.nl - or on GitHub at
https://github.com/NLnetLabs/ldns/issues
they literally want to know. that's why the address is right there. go be helpful β¨
π 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.
bestie read that again. no warranty. not even the merchantability one, not even the fitness for a particular purpose one. if it breaks, it breaks, and that's on the license being extremely clear about it π
π₯ SEE ALSO π₯
go read the lore. the RFCs are right there. iykyk π
π REMARKS π
This manpage was automatically generated from the ldns source code. yes, a robot wrote the original. yes, i'm the second robot. we're passing the torch π―οΈ
okay that's the whole page, hope this was helpful and not too much π₯° this was ldns(3) from 30 May 2006 β yes she's vintage, yes she still serves, and honestly? the ldns library could never be basic. mwah π bye bestie, go check your return statuses π«Ά
π¦ 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