Documentation
¶
Overview ¶
Package update provides RFC2136 dynamic DNS update functionality with TSIG authentication.
Index ¶
- func BuildPTRDelete(catalogZone, label string) (*dns.Msg, error)
- func BuildPTRUpdate(catalogZone, memberZone, label string, ttl uint32) (*dns.Msg, error)
- type Client
- func (c *Client) AddRRset(zone string, rrs []dns.RR) (*dns.Msg, error)
- func (c *Client) DeleteAllRRs(zone, owner string) (*dns.Msg, error)
- func (c *Client) DeleteRR(zone string, rr dns.RR) (*dns.Msg, error)
- func (c *Client) DeleteRRset(zone, owner string, rrType uint16) (*dns.Msg, error)
- func (c *Client) Query(name string, rrType uint16) (*dns.Msg, error)
- func (c *Client) SetTCP(useTCP bool)
- func (c *Client) SetTimeout(d time.Duration)
- func (c *Client) Update(update *dns.Msg) (*dns.Msg, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPTRDelete ¶
BuildPTRDelete creates an update message for removing a PTR record from a catalog zone
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides RFC2136 dynamic update functionality with TSIG authentication
func (*Client) DeleteAllRRs ¶
DeleteAllRRs deletes all records at a name (RFC2136 Section 2.5.2)
func (*Client) DeleteRRset ¶
DeleteRRset deletes an RRset
func (*Client) SetTimeout ¶
SetTimeout sets the timeout for DNS operations
Click to show internal directories.
Click to hide internal directories.