ldns(3)

πŸ“¦
version 1.9.2 Β· 3 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 ldns manual, bestie edition πŸ’–

okay so this is a page from the Library Functions Manual for ldns, and honestly? it's giving reference material. it's giving "you will come back to this at 2am". let's go 🫢


✨ NAME ✨

ldns_algorithm β€” the numbers assigned to algorithms used in dns


🌸 SYNOPSIS 🌸

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

#include <ldns/ldns.h>

πŸ’… DESCRIPTION πŸ’…

ldns_algorithm β€” algorithms used in dns πŸ¦‹

here's the whole enum, no cap, every single one of them:

enum ldns_enum_algorithm
{
        LDNS_RSAMD5             = 1,   /* RFC 4034,4035 */
        LDNS_DH                 = 2,
        LDNS_DSA                = 3,
        LDNS_ECC                = 4,
        LDNS_RSASHA1            = 5,
        LDNS_DSA_NSEC3          = 6,
        LDNS_RSASHA1_NSEC3      = 7,
        LDNS_RSASHA256          = 8,   /* RFC 5702 */
        LDNS_RSASHA512          = 10,  /* RFC 5702 */
        LDNS_ECC_GOST           = 12,  /* RFC 5933 */
        LDNS_ECDSAP256SHA256    = 13,  /* RFC 6605 */
        LDNS_ECDSAP384SHA384    = 14,  /* RFC 6605 */
     LDNS_ED25519        = 15,  /* RFC 8080 */
     LDNS_ED448          = 16,  /* RFC 8080 */
        LDNS_INDIRECT           = 252,
        LDNS_PRIVATEDNS         = 253,
        LDNS_PRIVATEOID         = 254
};
typedef enum ldns_enum_algorithm ldns_algorithm;

the way that LDNS_ED25519 and LDNS_ED448 are out there living their best life with slightly different indentation… iconic. we don't fix it. we respect it. πŸŽ€

and yes, that typedef at the bottom means you can just say ldns_algorithm like it's nothing. main character energy fr fr. ✨


πŸ‘‘ AUTHOR πŸ‘‘

the ldns team at NLnet Labs. absolute legends. 🫢


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? do not suffer in silence, bestie. tell them!! 😭


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… no warranty at all. zero. none. if it breaks, that's a you-and-your-codebase situation. πŸ’€

🌈 SEE ALSO 🌈

perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.

iykyk πŸ“š


⭐ REMARKS ⭐

This manpage was automatically generated from the ldns source code. so if the prose is a little stiff, that's why β€” not me though, i'm thriving πŸ’…


and that's the whole thing!! this page is from the ldns library, dated 30 May 2006 β€” yeah, it's vintage, it's a classic, it's been slaying in ldns(3) for literal decades. go read the RFCs, hydrate, and call your mother. bye bestie!! πŸ’–πŸŽ€πŸ¦‹πŸŒΈβœ¨