ldns(3)

πŸ“¦
version 1.9.2 Β· 3 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 zone-pushing girlies πŸ’–

okay bestie, welcome to ldns(3), aka the Library Functions Manual corner of the ldns universe, where we take your Resource Records and yeet them into a zone. this one's a two-for-one deal, no cap. πŸ¦‹


✨ NAME ✨

ldns_zone_push_rr, ldns_zone_push_rr_list β€” add rr's to a ldns_zone

like. that's the whole vibe. we add records. to a zone. slay.


🌸 SYNOPSIS 🌸

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

#include <ldns/ldns.h>

bool ldns_zone_push_rr(ldns_zone *z, ldns_rr *rr);

bool ldns_zone_push_rr_list(ldns_zone *z, const ldns_rr_list *list);

look at those includes. so organised. so demure. πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

ldns_zone_push_rr()

okay so this one pushes a single rr into a zone structure. one rr. one zone. it's giving main character energy but make it minimal.

⚠️ IMPORTANT, bestie, do NOT skip this: this function uses pointer copying, so the rr_list structure inside z is modified! like, actually modified. not a copy, not a vibe, the real thing. 😭
  • z: the zone to add to
  • rr: the rr to add
  • Returns true on success, otherwise false

ldns_zone_push_rr_list()

and this one? pushes an rrlist into a zone structure. the whole list. the entire friend group showing up at the function. 🫢

⚠️ same energy, same warning: this function uses pointer copying, so the rr_list structure inside z is modified! fr fr.
  • z: the zone to add to
  • list: the list to add
  • Returns true on success, otherwise false

πŸ‘‘ AUTHOR πŸ‘‘

The ldns team at NLnet Labs. iconic behaviour, honestly. ✨


πŸ› REPORTING BUGS πŸ›

found a bug? bestie, please tell them, don't just suffer in silence:

they literally want to know. go off. πŸ’œ


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.

no warranty bestie. none. zero. the warranty check came back empty. πŸ’€

πŸ” SEE ALSO πŸ”

the whole RFC cinematic universe, honestly. 🌈


🧚 REMARKS 🧚

This manpage was automatically generated from the ldns source code.

not me being a robot-written manpage 😭 still ate tho.

and that's the whole page, bestie!! this one came straight out of the ldns(3) manual, dated 30 May 2006 β€” yes, 2006, she's vintage, she's an elder, and she still slays. go push some rr's. πŸŒŸπŸ’–