Documentation ¶
Index ¶
- type DB
- func (db *DB) GetDomainInfoFromDNS(hostname string, dnsServerList []string, caller dns.DNSCaller) ([]*types.IPRecord, error)
- func (db *DB) GetDomainInformation(hostname string, dnsServerList []string) ([]*types.IPRecord, error)
- func (db *DB) GetIPInformation(hostname string) (*types.IPRecord, error)
- func (db *DB) Open() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
func (*DB) GetDomainInfoFromDNS ¶
func (db *DB) GetDomainInfoFromDNS(hostname string, dnsServerList []string, caller dns.DNSCaller) ([]*types.IPRecord, error)
GetDomainInfoFromDNS is the new and slower way of getting DNS records.
func (*DB) GetDomainInformation ¶
func (db *DB) GetDomainInformation(hostname string, dnsServerList []string) ([]*types.IPRecord, error)
GetDomainInformation is the old and fast way of getting DNS records.
func (*DB) GetIPInformation ¶
Click to show internal directories.
Click to hide internal directories.