dnsserver

package
v0.0.0-...-f1edcfc Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: GPL-3.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	IncomingStreamSpool map[string]protocol.IncomingDNSBuffer
	OutgoingStreamSpool map[string][]string // processed responses per protocol
	CommandSpool        map[string]protocol.Command
	FileSpool           map[string]protocol.File
	Agents              map[string]protocol.Agent

	Log *zerolog.Logger
}

Handler handles incoming & outgoing streams via DNS.

func (*Handler) ServeDNS

func (h *Handler) ServeDNS(w dns.ResponseWriter, r *dns.Msg)

ServeDNS serves the DNS server used to read incoming lookups and process them.

Jump to

Keyboard shortcuts

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