ldns(3)
β¨ ldns(3) β the dname-gluing one β¨
okay so bestie, welcome to ldns(3), from the Library Functions Manual π this is the page about sticking two dnames together like they're holding hands π«Ά
πΈ NAME πΈ
ldns_dname_cat_clone, ldns_dname_cat β concatenate two dnames
π SYNOPSIS π
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_rdf* ldns_dname_cat_clone(const ldns_rdf *rd1, const ldns_rdf
*rd2);
ldns_status ldns_dname_cat(ldns_rdf *rd1, const ldns_rdf *rd2);
π¦ DESCRIPTION π¦
so there's two of them and they do the same vibe but very different energy, okay?
ldns_dname_cat_clone()
concatenates two dnames together β like, smashes them into one β¨
rd1: the leftsiderd2: the rightside- Returns a new rdf with leftside/rightside
it's giving "we made a whole new baby dname and left the originals alone" π non-destructive queen behaviour, no cap.
ldns_dname_cat()
concatenates rd2 after rd1 (rd2 is copied, rd1 is modified) π
rd1: the leftsiderd2: the rightside- Returns
LDNS_STATUS_OKon success
not me pointing out that this one literally rewritesrd1in place πrd2gets copied,rd1gets changed. if you didn't want that, you wanted the clone version. iykyk.
π AUTHOR π
The ldns team at NLnet Labs. π
π REPORTING BUGS π
Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues β they wanna hear from you 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.
read that again bestie. NO WARRANTY. like none. zero. nada. π«
β SEE ALSO β
perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
π§ REMARKS π§
This manpage was automatically generated from the ldns source code. (so if it's a little unhinged, blame the generator, not me π )
and that's the whole page!! π this lil cutie is from the ldns source, dated 30 May 2006 β shoutout to the <rainbow>ldns(3)</rainbow> girlies, mwah πβ¨
π¦ 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