dns

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server dns server object

func NewServer

func NewServer(ctx context.Context) *Server

NewServer returns a new dns server

func (*Server) Start

func (s *Server) Start()

Start runs the listener in a go routine

func (*Server) Stop

func (s *Server) Stop()

Stop stops the server

func (*Server) UpdateDNSServer

func (s *Server) UpdateDNSServer(serial uint64, update nbdns.Update) error

UpdateDNSServer processes an update received from the management service

Jump to

Keyboard shortcuts

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