vpp_dns

package
v3.3.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "vpp.dns"
)

Variables

View Source
var File_ligato_vpp_dns_dns_proto protoreflect.FileDescriptor
View Source
var (
	// DNSCache is registered NB model of DNSCache
	ModelDNSCache = models.Register(&DNSCache{}, models.Spec{
		Module:  ModuleName,
		Type:    "dnscache",
		Version: "v1",
	})
)

Functions

This section is empty.

Types

type DNSCache

type DNSCache struct {

	// List of upstream DNS servers that are contacted by VPP when unknown domain name needs to be resolved.
	//The results are cached and there should be no further upstream DNS server request for the same domain
	//name until cached DNS record expiration.
	UpstreamDnsServers []string `protobuf:"bytes,1,rep,name=upstream_dns_servers,json=upstreamDnsServers,proto3" json:"upstream_dns_servers,omitempty"`
	// contains filtered or unexported fields
}

DNSCache configuration models VPP's DNS cache server functionality. The main goal of this functionality is to cache DNS records and minimize external DNS traffic. The presence of this configuration enables the VPP DNS functionality and VPP start to acts as DNS cache Server. It responds on standard DNS port(53) to DNS requests. Removing of this configuration disables the VPP DNS functionality.

func (*DNSCache) Descriptor deprecated

func (*DNSCache) Descriptor() ([]byte, []int)

Deprecated: Use DNSCache.ProtoReflect.Descriptor instead.

func (*DNSCache) GetUpstreamDnsServers

func (x *DNSCache) GetUpstreamDnsServers() []string

func (*DNSCache) ProtoMessage

func (*DNSCache) ProtoMessage()

func (*DNSCache) ProtoReflect

func (x *DNSCache) ProtoReflect() protoreflect.Message

func (*DNSCache) Reset

func (x *DNSCache) Reset()

func (*DNSCache) String

func (x *DNSCache) String() string

Jump to

Keyboard shortcuts

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