trireme-lib: Index | Files

package dnsproxy

import ""


Package Files

dns.go dns_report.go

type Proxy Uses

type Proxy struct {
    // contains filtered or unexported fields

Proxy struct represents the object for dns proxy

func New Uses

func New(puFromID cache.DataStore, conntrack flowtracking.FlowClient, c collector.EventCollector, aclmanager ipsetmanager.ACLManager) *Proxy

New creates an instance of the dns proxy

func (*Proxy) ShutdownDNS Uses

func (p *Proxy) ShutdownDNS(contextID string)

ShutdownDNS shuts down the dns server for contextID

func (*Proxy) StartDNSServer Uses

func (p *Proxy) StartDNSServer(contextID, port string) error

StartDNSServer starts the dns server on the port provided for contextID

Package dnsproxy imports 14 packages (graph) and is imported by 2 packages. Updated 2019-10-22. Refresh now. Tools for package owners.