Documentation ¶
Index ¶
- func NewHeader(qName string, qType uint16) dns.RR_Header
- func PtrAddress(addr string) (net.IP, error)
- func SupportedType(qType uint16) bool
- func TimedExternalLookup(ctx context.Context, name string, timeout time.Duration) iputil.IPs
- func ToRPC(rrs RRs, rCode int) (*manager.DNSResponse, error)
- type RRs
- type ResolveFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportedType ¶ added in v2.9.0
func TimedExternalLookup ¶
TimedExternalLookup will shell out to an operating specific lookup command. The reason for this is to make sure that no caching or a negative result is performed in this process, which would invalidate subsequent attempts.
Types ¶
type ResolveFile ¶ added in v2.19.0
type ResolveFile struct { Port int Domain string Nameservers []string Search []string Options []string }
func ReadResolveFile ¶ added in v2.19.0
func ReadResolveFile(fileName string) (*ResolveFile, error)
func (*ResolveFile) Equals ¶ added in v2.19.0
func (r *ResolveFile) Equals(o *ResolveFile) bool
func (*ResolveFile) String ¶ added in v2.19.0
func (r *ResolveFile) String() string
func (*ResolveFile) Write ¶ added in v2.19.0
func (r *ResolveFile) Write(fileName string) error
Click to show internal directories.
Click to hide internal directories.