db

package
v0.0.0-...-40ec311 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	Extensions []*extension.Extension
	// contains filtered or unexported fields
}

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

func (db *DB) GetIPInformation(hostname string) (*types.IPRecord, error)

func (*DB) Open

func (db *DB) Open() error

Open finds the databases in the filesystem and opens them.

Jump to

Keyboard shortcuts

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