ldns(3)
π ldns(3) β the ldns_update_pkt_new era π
okay bestie, welcome to the ldns(3) library functions manual, this one's all about ldns_update_pkt_new and honestly? it's giving packet-builder energy β¨
πΈ NAME πΈ
ldns_update_pkt_new β create an update packet π
β¨ SYNOPSIS β¨
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_pkt* ldns_update_pkt_new(ldns_rdf *zone_rdf, ldns_rr_class clas,
const ldns_rr_list *pr_rrlist, const ldns_rr_list *up_rrlist, const
ldns_rr_list *ad_rrlist);
like, yes, that's the whole signature. slay. π
π¦ DESCRIPTION π¦
so ldns_update_pkt_new() literally creates an update packet out of the zone name, the class, and the rr lists. main character function behavior fr fr. π
here's the breakdown of what you're feeding it:
zone_rdfβ the name of the zone. πΊοΈ and listen, this is important: the returned packet will take ownership ofzone_rdf, so the caller should not free it. no cap. hands off, bestie. πclasβ the zone class.pr_rrlistβ list of Prerequisite Section RRs.up_rrlistβ list of Updates Section RRs.ad_rrlistβ list of Additional Data Section RRs (currently unused π).
and it returns the new packet. that's it, that's the vibe. π
π AUTHOR π
The ldns team at NLnet Labs. π
π REPORTING BUGS π
found something cursed? please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues β they wanna know, fr fr. π«Ά
π 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, zero. none. don't come for them. π
π SEE ALSO π
ldns_update_pkt_tsig_addldns_update_pkt_tsig_addldns_update_zocountldns_update_prcountldns_update_upcountldns_update_adcountldns_update_set_zocountldns_update_set_prcountldns_update_set_upcountldns_update_set_adcount
And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. π iykyk.
π REMARKS π
This manpage was automatically generated from the ldns source code. π€β¨
and that's the whole page bestie!! π¦ this one's from the ldns(3) manual, dated 30 May 2006 β yeah, it's vintage, it's iconic, it ate and left no crumbs. go build those update packets. 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