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

πŸ’– NAME πŸ’–

ldns_rr_ns_nsdname β€” bestie, this one grabs the dname rdata field out of an NS RR ✨


🌸 SYNOPSIS 🌸

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

#include <ldns/ldns.h>

ldns_rdf* ldns_rr_ns_nsdname(const ldns_rr *r);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so ldns_rr_ns_nsdname() is literally the vibe where you hand it an LDNS_RR_TYPE_NS rr and it gives you back the name πŸŽ€

  • r β€” the resource record, bestie. that's the input. that's it πŸ’…
  • and what you get back? a ldns_rdf* holding that name. or NULL on failure 😭 no in-between, no cap.
lowkey important: if it fails you get NULL. check for it, fr fr. don't be out here dereferencing NULL and acting surprised πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

The ldns team at NLnet Labs. iconic behavior, honestly 🫢


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not me gatekeeping the contact info:


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. nada 🫠


🌈 SEE ALSO 🌈


🧚 REMARKS 🧚

ngl, this manpage was automatically generated from the ldns source code. so if it reads a lil robotic, that's why bestie πŸ’œ


and that's the whole page, periodt ✨ this little ldns(3) entry is dated 30 May 2006 and comes to you from the ldns library β€” stay slaying, DNS queen πŸ‘‘πŸ’