dns

package
v1.0.0-ea2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flush

func Flush()

func OverrideSearchDomains

func OverrideSearchDomains(p *supervisor.Process, domains string) func()

Types

type Server

type Server struct {
	Listeners []string
	Fallback  string
	Resolve   func(string) string
}

func (*Server) ServeDNS

func (s *Server) ServeDNS(w dns.ResponseWriter, r *dns.Msg)

func (*Server) Start

func (s *Server) Start(p *supervisor.Process) error

Notes

Bugs

  • I have no idea why a lookup for localhost even makes it to here on my home WiFi when connecting to a k3sctl cluster (but not a kubernaut.io cluster). But it does, so I need this in order to be productive at home. We should really root-cause this, because it's weird.

Jump to

Keyboard shortcuts

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