Versions in this module Expand all Collapse all v1 v1.11.0 Dec 24, 2018 v1.10.0 Aug 16, 2018 Changes in this version + const DefaultZoneName + func RunDNSUpdates(target DNSTarget, src *DNSView) + type DNSRecord struct + Name string + Rrdatas []string + RrsType string + type DNSTarget interface + Update func(snapshot *DNSViewSnapshot) error + type DNSView struct + func NewDNSView(gossipState gossip.GossipState) *DNSView + func (v *DNSView) AddZone(info DNSZoneInfo) (*DNSZoneInfo, error) + func (v *DNSView) ApplyChangeset(zone DNSZoneInfo, removeRecords []*DNSRecord, createRecords []*DNSRecord) error + func (v *DNSView) RemoveZone(info DNSZoneInfo) error + func (v *DNSView) Snapshot() *DNSViewSnapshot + type DNSViewSnapshot struct + func (s *DNSViewSnapshot) ListZones() []DNSZoneInfo + func (s *DNSViewSnapshot) RecordsForZone(zoneInfo DNSZoneInfo) []DNSRecord + func (s *DNSViewSnapshot) RecordsForZoneAndName(zoneInfo DNSZoneInfo, name string) []DNSRecord + type DNSZoneInfo struct + Name string + type HostsFile struct + Path string + func (h *HostsFile) Update(snapshot *DNSViewSnapshot) error