lookup

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupAAAACustom added in v0.4.0

func LookupAAAACustom(name string, dnsResolver string) ([]string, error)

LookupAAAACustom resolves a DNS name using a custom resolver (via github.com/miekg/dns), returning AAAA records.

func LookupACustom added in v0.4.0

func LookupACustom(name string, dnsResolver string) ([]string, error)

LookupACustom resolves a DNS name using a custom resolver (via github.com/miekg/dns), returning A records.

func LookupSRVCustom

func LookupSRVCustom(name string, dnsResolver string, recurse bool) ([]*dns.SRV, error)

LookupSRVCustom resolves a DNS name using a custom resolver (via github.com/miekg/dns), returning dns.SRV records.

func LookupSRVSystem

func LookupSRVSystem(name string, recurse bool) ([]*dns.SRV, error)

LookupSRVSystem resolves a DNS SRV name using the Golang resolver, returning dns.SRV records.

func LookupSRVSystemNet

func LookupSRVSystemNet(name string, recurse bool) ([]*net.SRV, error)

LookupSRVSystemNet resolves a DNS SRV name using the Golang resolver, returning net.SRV records.

func LookupSystem added in v0.4.0

func LookupSystem(name string) ([]string, error)

LookupSystem resolves a DNS name using the Golang resolver, returning both A and AAAA records.

Types

This section is empty.

Jump to

Keyboard shortcuts

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