Documentation
¶
Overview ¶
Package dns implements the `enumerate service --service dns` command.
Index ¶
Constants ¶
View Source
const (
// Off-zone: a recursive answer for it proves the server resolves for anyone.
DefaultOpenResolverProbe = "a.root-servers.net."
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibraryEnumerateDNS ¶
type LibraryEnumerateDNS struct {
// Empty means DefaultOpenResolverProbe.
OpenResolverProbe string
}
LibraryEnumerateDNS implements NetworkApplicationLibrary for DNS.
func (*LibraryEnumerateDNS) EnumerateTarget ¶
func (l *LibraryEnumerateDNS) EnumerateTarget(ctx context.Context, target string) (*enumeratefern.EnumerateServiceDetails, []string)
EnumerateTarget probes the DNS service at the given target (host:port).
Click to show internal directories.
Click to hide internal directories.