Documentation ¶
Overview ¶
Package rdns processes reverse DNS lookup queries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Logger is used for logging the operation of the reverse DNS lookup // queries. It must not be nil. Logger *slog.Logger // Exchanger resolves IP addresses to domain names. Exchanger Exchanger // CacheSize is the maximum size of the cache. It must be greater than // zero. CacheSize int // CacheTTL is the Time to Live duration for cached IP addresses. CacheTTL time.Duration }
Config is the configuration structure for Default.
type Default ¶
type Default struct {
// contains filtered or unexported fields
}
Default is the default rDNS query processor.
Click to show internal directories.
Click to hide internal directories.