ldns_dnssec_zone(3)

ldns_dnssec_zone3

Data structures

Usage

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

#include <ldns/ldns.h>

ldns_dnssec_zone();

Overview

ldns_dnssec_zone()

ldns_dnssec_name
Structure containing all resource records for a domain name
Including the derived NSEC3, if present
struct ldns_struct_dnssec_name
{

/**

* pointer to a dname containing the name.

* Usually points to the owner name of the first RR of the first RRset

*/

ldns_rdf *name;

/**

* Usually, the name is a pointer to the owner name of the first rr for

* this name, but sometimes there is no actual data to point to,

* for instance in

* names representing empty nonterminals. If so, set name_alloced to true to

* indicate that this data must also be freed when the name is freed

*/

bool name_alloced;

/**

* The rrsets for this name

*/

ldns_dnssec_rrsets *rrsets;

/**

* NSEC pointing to the next name (or NSEC3 pointing to the next NSEC3)

*/

ldns_rr *nsec;

/**

* signatures for the NSEC record

*/

ldns_dnssec_rrs *nsec_signatures;

/**

* Unlike what the name is_glue suggests, this field is set to true by

* ldns_dnssec_zone_mark_glue() or ldns_dnssec_zone_mark_and_get_glue()

* when the name, this dnssec_name struct represents, is occluded.

* Names that contain other occluded rrsets and records with glue on

* the delegation point will NOT have this bool set to true.

* This field should NOT be read directly, but only via the

* ldns_dnssec_name_is_glue() function!

*/

bool is_glue;

/**

* pointer to store the hashed name (only used when in an NSEC3 zone

*/

ldns_rdf *hashed_name;
};

typedef struct ldns_struct_dnssec_name ldns_dnssec_name;

ldns_dnssec_rrs
Singly linked list of rrs
struct ldns_struct_dnssec_rrs
{

ldns_rr *rr;

ldns_dnssec_rrs *next;
};

typedef struct ldns_struct_dnssec_rrs ldns_dnssec_rrs;

ldns_dnssec_rrsets
Singly linked list of RRsets
struct ldns_struct_dnssec_rrsets
{

ldns_dnssec_rrs *rrs;

ldns_rr_type type;

ldns_dnssec_rrs *signatures;

ldns_dnssec_rrsets *next;
};

typedef struct ldns_struct_dnssec_rrsets ldns_dnssec_rrsets;

Remarks

This manpage was automatically generated from the ldns source code.

Releases

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

  1. 5.0
  2. 6.0
  3. 7–8
  4. 9–10
  5. 11
  6. 12
  7. 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.