# Functions
ConvertClassToString returns DNS Class string by dns.Class.
No description provided by the author
ConvertStringToClass returns dns.Class by string If it failed to parse, returns ErrInvalid.
ConvertStringToType returns uint16 dns rrtype by string If it failed to parse, returns ErrInvalid.
No description provided by the author
ConvertTypeToString returns RRType string by uint16 dns rrtype.
Equals check that both names are equal.
GetAllParentNames returns a name slice containing parent names and itself.
GetNameNodeOrCreate returns name node from arg name node.
GetRDATA returns RDATA from dns.RR.
GetRDATASlice returns RDATA from rrset.
GetRRSetOrCreate returns rrset from name node.
IsCompleteEqualsRRSet check that both rrset equal.
IsEmptyRRSet check that rrset is empty.
IsENT check that node is empty non terminal.
IsEqualsRRSet check that both rrset equal.However ttl value will be ignored.
IsHostname checks if name is a valid RFC1123 hostname.
MakeRR returns dns.RR by RRSet and rdata string.
MarshalJSONRRset returns json.RawMessage by rrset.
NewNameNode create NameNode.
NewRRSet creates RRSet.
NewRRSetFromRR creates RRSet from dns.RR If rr is nil return nil.
NewRRSetFromRRs creates RRSet from []dns.RR.
NewZone creates Zone.
RemoveNameNode remove NameNodeInterface from tree.
SetNameNode adds NameNode into tree.
SetRdata set rdata into rrset.
# Variables
ErrBadName returns when name is not domain name.
ErrChildExist returns when already exist arg node's name node.
ErrClassNotEqual returns when arg name node's class is not equal.
ErrConflict returns when there is more than one SOA RDATA or CNAME RDATA.
ErrConflictCNAME returns by SetRRSet when there is more than one SOA RDATA.
ErrConflictDNAME returns by SetRRSet when there is more than one RDATA RDATA.
ErrFormat returns when input invalid format data.
ErrInvalid returns when class or type is invalid format.
ErrNameNotEqual returns when arg name node's name is not equal.
ErrNotTreeBroken returns tree is broken.
ErrNotChangeAble returns by change methods when can not change values.
ErrNotDirectlyName returns by AddChildNode when arg node is not child name.
ErrNotInDomain returns when arg node is in-domain.
ErrNotSupport returns when method is not implemented.
ErrRdata returns when rdata is invalid while parsing RDATA.
ErrRemoveItself by RemoveChildNameNode when remove itself.
ErrRRType returns when rrset's rrtype and rr's rrtype are not equals.
ErrTTL returns when rrset's ttl and rr's ttl are not equals.
# Structs
No description provided by the author
NameNode is implement of NameNodeInterface.
RRSet is implement of RRSetInterface.
Zone is implement of ZoneInterface.
# Interfaces
No description provided by the author
No description provided by the author
NameNodeInterface manages node of name tree.
No description provided by the author
RRSetInterface manages rrset.
ZoneInterface manages zone root node.