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 ldns library manual, bestie edition πŸ’–

okay so this page lives in the Library Functions Manual section as ldns(3), and we're about to talk about exactly one (1) extremely important function. no cap, it's a good one.


✨ NAME ✨

ldns_pkt_verify β€” verify a packet πŸ’…

like. it checks the packet. that's the whole job. iconic.


πŸŽ€ SYNOPSIS πŸŽ€

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

#include <ldns/ldns.h>

ldns_status ldns_pkt_verify(const ldns_pkt *p, ldns_rr_type t, const
ldns_rdf *o, const ldns_rr_list *k, const ldns_rr_list *s, ldns_rr_list
*good_keys);

copy that include block exactly, bestie, character for character, do not freestyle it πŸ™ˆ


🌸 DESCRIPTION 🌸

ldns_pkt_verify() β€” verify a packet. the way that this function simply looks at a packet and goes "yeah I checked it"… obsessed.

here's the whole vibe check on the arguments, one by one, no skipping:

  • p β€” the packet πŸ¦‹
  • t β€” the rr set type to check
  • o β€” the rr set name to check
  • k β€” list of keys πŸ”‘
  • s β€” list of sigs (may be null) β€” yep, may be null, it's giving optional
  • good_keys β€” keys which validated the packet βœ…
  • and it Returns status πŸ’«
not me making a whole bulleted list just so you don't miss a single parameter. that's what besties do.

πŸ‘‘ AUTHOR πŸ‘‘

The ldns team at NLnet Labs. legends, fr fr. 🫢


πŸ› REPORTING BUGS πŸ›

found a bug? don't be shy, tell them:

they literally want to know. main character energy from you for reporting it πŸ’–


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.

that's not me being dramatic, that's the actual legal situation. no warranty. none. zero. the BSD License said what it said. πŸ’€

🌈 SEE ALSO 🌈

go read these too, iykyk:

  • ldns_verify
  • ldns_sign_public
  • ldns_zone_sign

And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. πŸ“šβœ¨


🧚 REMARKS 🧚

This manpage was automatically generated from the ldns source code. so if a sentence sounds like a robot wrote it… a robot wrote it. πŸŽ€


and that's the whole page, bestie!! this one's from 30 May 2006 and it belongs to ldns(3). slay, bye πŸ’œπŸ¦‹