Documentation ¶
Index ¶
- type ErrInvalid
- type NS
- type NSReport
- type RR
- type Report
- type Validator
- func (v *Validator) FindNameservers(ctx context.Context, qname string) (nss []string, err error)
- func (v *Validator) Inspect(ctx context.Context, qname string, qtype string) (Report, error)
- func (v *Validator) QueryNameserver(ctx context.Context, qname, qtype, nameserver string) (Report, error)
- func (v *Validator) QueryNameservers(ctx context.Context, qname, qtype string, nameservers []string) (Report, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrInvalid ¶
type ErrInvalid struct {
// contains filtered or unexported fields
}
func (*ErrInvalid) Error ¶
func (e *ErrInvalid) Error() string
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func (*Validator) FindNameservers ¶
FindNameservers tries to find the nameservers for a given query name, by iterating on parents. Returns the root nameservers if the domain does not exist.
func (*Validator) Inspect ¶
Inspect queries all nameservers for a query name and type and return a report by nameserver.
func (*Validator) QueryNameserver ¶
Click to show internal directories.
Click to hide internal directories.