1package internal
2
3// RRSet DNS Record Set.
4type RRSet struct {
5	Name    string   `json:"name,omitempty"`
6	Domain  string   `json:"domain,omitempty"`
7	SubName string   `json:"subname,omitempty"`
8	Type    string   `json:"type,omitempty"`
9	Records []string `json:"records"`
10	TTL     int      `json:"ttl,omitempty"`
11}
12
13// NotFound Not found error.
14type NotFound struct {
15	Detail string `json:"detail"`
16}
17
18func (n NotFound) Error() string {
19	return n.Detail
20}
21