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) β€” 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 leftside
  • rd2: 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 leftside
  • rd2: the rightside
  • Returns LDNS_STATUS_OK on success
not me pointing out that this one literally rewrites rd1 in place πŸ’€ rd2 gets copied, rd1 gets 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 (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 πŸ’–βœ¨