Documentation
¶
Overview ¶
Package DNS provides a backend for the skydns DNS server started by the kubedns cluster addon. It exposes the 2 interface method: Records and ReverseRecord, which skydns invokes according to the DNS queries it receives. It serves these records by consulting an in memory tree populated with Kubernetes Services and Endpoints received from the Kubernetes API server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeDNS ¶
type KubeDNS struct { // skydns points to the skydns server instance for configuration syncing. SkyDNSConfig *server.Config // contains filtered or unexported fields }
func NewKubeDNS ¶
func (*KubeDNS) GetCacheAsJSON ¶
func (*KubeDNS) HasSynced ¶
HasSynced returns true if the initial sync of services and endpoints from the API server has completed
func (*KubeDNS) Records ¶
Records responds with DNS records that match the given name, in a format understood by the skydns server. If "exact" is true, a single record matching the given name is returned, otherwise all records stored under the subtree matching the name are returned.
func (*KubeDNS) ReverseRecord ¶
ReverseRecord performs a reverse lookup for the given name.
Directories
¶
Path | Synopsis |
---|---|
Fed contains federation specific DNS code.
|
Fed contains federation specific DNS code. |