dns

package
v0.0.0-...-07f90b3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: GPL-3.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(rwDirPath string, logger log.Logger, forwarders []net.UDPAddr) model.DNSServer

New setups a DNSService, rwDirPath is read-writable directory path for storing dns records.

func Start

func Start(rwDirPath string, ip string, port int, pipeIP string, pipePort int, pipeResponsePort int, logger log.Logger, forwarders []net.UDPAddr) model.DNSServer

Start conveniently init every parts of DNS service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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