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) GetUpstreamDnsServers ¶
func (*DNSCache) ProtoMessage ¶
func (*DNSCache) ProtoMessage()
func (*DNSCache) ProtoReflect ¶
func (x *DNSCache) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.