ldns_rr_dnskey_set_algorithm(3)

ldns_rr_dnskey_set_algorithm3

Get and set dnskey rr rdata fields

Usage

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

#include <ldns/ldns.h>

ldns_rdf* ldns_rr_dnskey_flags(const ldns_rr *r);

bool ldns_rr_dnskey_set_flags(ldns_rr *r, ldns_rdf *f);

ldns_rdf* ldns_rr_dnskey_protocol(const ldns_rr *r);

bool ldns_rr_dnskey_set_protocol(ldns_rr *r, ldns_rdf *f);

ldns_rdf* ldns_rr_dnskey_algorithm(const ldns_rr *r);

bool ldns_rr_dnskey_set_algorithm(ldns_rr *r, ldns_rdf *f);

ldns_rdf* ldns_rr_dnskey_key(const ldns_rr *r);

bool ldns_rr_dnskey_set_key(ldns_rr *r, ldns_rdf *f);

Overview

ldns_rr_dnskey_flags() returns the flags of a LDNS_RR_TYPE_DNSKEY rr .br r: the resource record .br Returns a ldns_rdf* with the flags or NULL on failure

ldns_rr_dnskey_set_flags() sets the flags of a LDNS_RR_TYPE_DNSKEY rr .br r: the rr to use .br f: the flags to set .br Returns true on success, false otherwise

ldns_rr_dnskey_protocol() returns the protocol of a LDNS_RR_TYPE_DNSKEY rr .br r: the resource record .br Returns a ldns_rdf* with the protocol or NULL on failure

ldns_rr_dnskey_set_protocol() sets the protocol of a LDNS_RR_TYPE_DNSKEY rr .br r: the rr to use .br f: the protocol to set .br Returns true on success, false otherwise

ldns_rr_dnskey_algorithm() returns the algorithm of a LDNS_RR_TYPE_DNSKEY rr .br r: the resource record .br Returns a ldns_rdf* with the algorithm or NULL on failure

ldns_rr_dnskey_set_algorithm() sets the algorithm of a LDNS_RR_TYPE_DNSKEY rr .br r: the rr to use .br f: the algorithm to set .br Returns true on success, false otherwise

ldns_rr_dnskey_key() returns the key data of a LDNS_RR_TYPE_DNSKEY rr .br r: the resource record .br Returns a ldns_rdf* with the key data or NULL on failure

ldns_rr_dnskey_set_key() sets the key data of a LDNS_RR_TYPE_DNSKEY rr .br r: the rr to use .br f: the key data to set .br Returns true on success, false otherwise

Remarks

This manpage was automatically generated from the ldns source code.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0–7
  3. 8
  4. 9–10
  5. 11–12
  6. 13–Arch

Author

The ldns team at NLnet Labs.

Reporting bugs

Please report bugs to [email protected] or on GitHub at https://github.com/NLnetLabs/ldns/issues

From ldns 1.9.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.