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) ✨

okay so bestie, welcome to ldns(3) β€” the Library Functions Manual, but make it a vibe πŸ’… this one's about ldns_key_rr2ds, and honestly? it's giving "small function, big energy".


πŸŽ€ NAME πŸŽ€

ldns_key_rr2ds β€” create DS rr from DNSKEY rr πŸ’–


🌸 SYNOPSIS 🌸

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

#include <ldns/ldns.h>

ldns_rr* ldns_key_rr2ds(const ldns_rr *key, ldns_hash h);

like. look at it. so clean. so demure. πŸ¦‹


✨ DESCRIPTION ✨

so ldns_key_rr2ds() hands you back a brand new DS rr that represents the key rr you gave it. that's it, that's the whole job, and it does it flawlessly no cap πŸ‘‘

here's the tea on the args:

  • *key β€” the key you wanna convert πŸ’«
  • h β€” the hash you're using, and your options are LDNS_SHA1 / LDNS_SHA256 πŸ”

and what does it give you back? a ldns_rr* β€” a shiny new rr pointer to a DS. iconic behavior fr fr 🌈


πŸ‘‘ AUTHOR πŸ‘‘

The ldns team at NLnet Labs. absolute legends, we stan 🫢


πŸ’€ REPORTING BUGS πŸ’€

found a bug? no gatekeeping bestie, please report it to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues πŸ›βœ¨


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. 😭 (yes that's the real energy β€” no safety net, you're on your own, stay safe out there)


πŸ¦‹ SEE ALSO πŸ¦‹

ldns_key. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. go read them, they're the syllabus πŸ“š


πŸ™ˆ REMARKS πŸ™ˆ

This manpage was automatically generated from the ldns source code. (not me getting written by a script and still serving this hard πŸ’…)

and that's a wrap bestie!! this one dropped on 30 May 2006 and it's still living in ldns(3) β€” the Library Functions Manual β€” rent free in our hearts πŸ’œ mwah, go hash something 🌟