ldns(3)

πŸ“¦
version 1.9.2 Β· 2 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) β€” Library Functions Manual πŸ’–

okay bestie, welcome to the ldns(3) manual page β€” yes, the ldns(3), Library Functions Manual energy, and today we're hyperfixating on two little functions that literally just... set stuff inside a zone. no thoughts, head empty, just setters. and honestly? iconic. ✨


🌸 NAME 🌸

ldns_zone_set_rrs, ldns_zone_set_soa β€” ldns_zone set content πŸŽ€


✨ SYNOPSIS ✨

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

#include <ldns/ldns.h>

void ldns_zone_set_rrs(ldns_zone *z, ldns_rr_list *rrlist);

void ldns_zone_set_soa(ldns_zone *z, ldns_rr *soa);

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, two tiny functions, both of them just set something on a zone and return nothing. void. as in, they give you nothing back except the satisfaction of a job well done. no return value, no drama, no notes. πŸ’…

πŸ’œ ldns_zone_set_rrs() β€” Set the zone's contents

bestie is out here assigning the whole rrlist to the zone. the deets:

  • z: the zone to put the new soa in
  • rrlist: the rrlist to use
no cap, the z line really does say "soa" even though we're in the rrs function. that's what the page says, so that's what we say. fr fr. 😭

πŸ’œ ldns_zone_set_soa() β€” Set the zone's soa record

and this one drops the SOA into the zone. the deets:

  • z: the zone to put the new soa in
  • soa: the soa to set

πŸ‘‘ AUTHOR πŸ‘‘

The ldns team at NLnet Labs. absolute main characters, we love them, periodt. 🫢


πŸ› REPORTING BUGS πŸ›

found a bug? do NOT suffer in silence, bestie. please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues β€” the maintainers want to know, i promise. πŸ’Œ


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.

ok that caps-lock NO is not me being dramatic, that's literally what it says. no warranty. none. zero. nada. the vibes are "you're on your own" and honestly? respect. πŸ’€

πŸ” SEE ALSO πŸ”

read the RFCs, iykyk πŸ“šβœ¨


πŸ™ˆ REMARKS πŸ™ˆ

This manpage was automatically generated from the ldns source code. so yes, a robot wrote it, and i just gave it a glow-up. we're both doing our part. πŸ’–


and that's the whole page, bestie!! this one's from the ldns(3) manual, dated 30 May 2006 β€” yeah, vintage, a true classic, the original era. she's been slaying since 2006 and she's still here. πŸŽ€πŸ’…βœ¨