dnsserver

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSServer

type DNSServer struct {
	IP      string // IP to listen on
	ReplyIP string // IP to reply DNS queries
	Port    int
	Hub     *ws.Hub
	Silent  bool
	WebHook *webhook.Webhook
}

func NewDNSServer

func NewDNSServer(opts *options.Options, hub *ws.Hub, wh *webhook.Webhook) *DNSServer

func (*DNSServer) Start

func (d *DNSServer) Start()

Jump to

Keyboard shortcuts

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