istio: istio.io/istio/pilot/pkg/dns Index | Files

package dns

import "istio.io/istio/pilot/pkg/dns"

Index

Package Files

dns.go proxy.go

type LocalDNSServer Uses

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

Holds configurations for the DNS downstreamUDPServer in Istio Agent

func NewLocalDNSServer Uses

func NewLocalDNSServer(proxyNamespace, proxyDomain string) (*LocalDNSServer, error)

func (*LocalDNSServer) Close Uses

func (h *LocalDNSServer) Close()

func (*LocalDNSServer) ServeDNS Uses

func (h *LocalDNSServer) ServeDNS(proxy *dnsProxy, w dns.ResponseWriter, req *dns.Msg)

ServerDNS is the implementation of DNS interface

func (*LocalDNSServer) StartDNS Uses

func (h *LocalDNSServer) StartDNS()

StartDNS starts the DNS-over-UDP downstreamUDPServer.

func (*LocalDNSServer) UpdateLookupTable Uses

func (h *LocalDNSServer) UpdateLookupTable(nt *nds.NameTable)

type LookupTable Uses

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

Borrowed from https://github.com/coredns/coredns/blob/master/plugin/hosts/hostsfile.go

Package dns imports 7 packages (graph) and is imported by 2 packages. Updated 2021-01-09. Refresh now. Tools for package owners.