ldns_zone_sort(3)

ldns_zone_sort3

Sort a zone and get the glue records

Usage

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

#include <ldns/ldns.h>

void ldns_zone_sort(ldns_zone *zone);

ldns_rr_list* ldns_zone_glue_rr_list(const ldns_zone *z);

Overview

ldns_zone_sort() Sort the rrs in a zone, with the current impl. this is slow .br zone: the zone to sort

ldns_zone_glue_rr_list() Retrieve all resource records from the zone that are glue records. The resulting list does are pointer references to the zone's data.

Due to the current zone implementation (as a list of rr's), this function is extremely slow. Another (probably better) way to do this is to use an ldns_dnssec_zone structure and the ldns_dnssec_mark_and_get_glue() function.

.br z: the zone to look for glue .br Returns the rr_list with the glue

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
  3. 7–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.