ldns(3)
π 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. orNULLon failure π no in-between, no cap.
lowkey important: if it fails you getNULL. check for it, fr fr. don't be out here dereferencingNULLand acting surprised π
π AUTHOR π
The ldns team at NLnet Labs. iconic behavior, honestly π«Ά
π REPORTING BUGS π
found a bug? not me gatekeeping the contact info:
- email:
dns-team@nlnetlabs.nl - or slide into the GitHub issues:
https://github.com/NLnetLabs/ldns/issues
β 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. 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 ππ
π¦ 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