resolver

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resolve

func Resolve(typ uint16, p model.RecordProvider, name string) ([]dns.RR, error)

Types

type A

type A struct{}

func (*A) Resolve

func (_ *A) Resolve(s model.RecordProvider, name string) ([]dns.RR, error)

type AAAA

type AAAA struct{}

func (*AAAA) Resolve

func (_ *AAAA) Resolve(s model.RecordProvider, name string) ([]dns.RR, error)

type CNAME

type CNAME struct{}

func (*CNAME) Resolve

func (_ *CNAME) Resolve(s model.RecordProvider, name string) ([]dns.RR, error)

type MX

type MX struct{}

func (*MX) Resolve

func (_ *MX) Resolve(s model.RecordProvider, name string) ([]dns.RR, error)

type NS

type NS struct{}

func (*NS) Resolve

func (_ *NS) Resolve(s model.RecordProvider, name string) ([]dns.RR, error)

type Resolver

type Resolver interface {
	Resolve(model.RecordProvider, string) ([]dns.RR, error)
}

type SOA

type SOA struct{}

func (*SOA) Resolve

func (_ *SOA) Resolve(s model.RecordProvider, name string) ([]dns.RR, error)

type SRV

type SRV struct{}

func (*SRV) Resolve

func (_ *SRV) Resolve(s model.RecordProvider, name string) ([]dns.RR, error)

type TXT

type TXT struct{}

func (*TXT) Resolve

func (_ *TXT) Resolve(s model.RecordProvider, name string) ([]dns.RR, error)

Jump to

Keyboard shortcuts

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