reversedns

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Rewrites the Note field of passing flows to the remote addresses reverse DNS entry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReverseDns

type ReverseDns struct {
	Cache           bool   // optional, default is true, disable to use a caching resolver directly
	RefreshInterval string // optional, default is 5m, set another duration for cache refreshes

	segments.BaseSegment
	// contains filtered or unexported fields
}

func (ReverseDns) New

func (segment ReverseDns) New(config map[string]string) segments.Segment

func (*ReverseDns) Run

func (segment *ReverseDns) Run(wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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