alias

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const TypeALIAS uint16 = 65280

Custom DNS record type for ALIAS records. Based on Private Use range on the link below. https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	Hdr dns.RR_Header
	*dns.CNAME
}

func (*Alias) Header

func (a *Alias) Header() *dns.RR_Header

Header returns the header of an resource record. The header contains everything up to the rdata.

func (*Alias) String

func (a *Alias) String() string

String returns the text representation of the resource record.

Jump to

Keyboard shortcuts

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