Versions in this module Expand all Collapse all v1 v1.1.1 Jul 21, 2024 Changes in this version + type ParseState struct + Parenthesis bool + PreviousName string + Quote bool + type Record struct + Class string + Content string + Host string + Ttl uint + Type string + type Zone struct + Origin string + Records []Record + SOA *ZoneSOA + Ttl uint + func ParseZone(bindZone string) (*Zone, error) + func (z *Zone) AddPTR(IP string, Host string, Ttl uint) error + func (z *Zone) ToZoneFile() (string, error) + func (z *Zone) UpdateSerial() + func (z *Zone) UpdateSerialRFC() error + type ZoneSOA struct + Email string + Expire string + Host string + Minimum string + Nameserver string + Refresh string + Retry string + Serial string + type ZoneScanner struct + func (z *ZoneScanner) HasNext() bool + func (z *ZoneScanner) Next(n int) string + func (z *ZoneScanner) Peek(n int) string + func (z *ZoneScanner) SkipToEoL() + func (z *ZoneScanner) SkipWhitespace()