rdnsquerier

package
v0.0.0-...-d598917 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package rdnsquerier provides the reverse DNS querier component.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface {
	GetHostnameAsync([]byte, func(string), func(string, error)) error
	GetHostname(context.Context, string) (string, error)
	GetHostnames(context.Context, []string) map[string]ReverseDNSResult
}

Component is the component type.

type ReverseDNSResult

type ReverseDNSResult struct {
	IP       string
	Hostname string
	Err      error
}

ReverseDNSResult is the result of a reverse DNS lookup

Jump to

Keyboard shortcuts

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