catalog

package
v1.14.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package catalog parses DNS catalog zones as defined by RFC 9432.

Index

Constants

View Source
const Version = "2"

Version is the RFC 9432 catalog zone schema version supported by this package.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	Origin  string
	Members []Member
}

Catalog is the parsed catalog zone state.

func Parse

func Parse(origin string, rrs []dns.RR) (*Catalog, error)

Parse builds a Catalog from resource records belonging to origin.

type Member

type Member struct {
	ID                string
	Zone              string
	Groups            []string
	ChangeOfOwnership string
}

Member is a member zone entry from a catalog zone.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL