Create new records
This commit is contained in:
parent
7d7c0c9570
commit
3763367510
6 changed files with 117 additions and 19 deletions
10
dns.go
10
dns.go
|
|
@ -21,11 +21,11 @@ type DNSRecord struct {
|
|||
}
|
||||
|
||||
type DNSEntry struct {
|
||||
ID string `json:".id"`
|
||||
Disabled string `json:"disabled"`
|
||||
Name string `json:"name"`
|
||||
TTL string `json:"ttl"`
|
||||
Type string `json:"type"`
|
||||
ID string `json:".id,omitempty"`
|
||||
Disabled string `json:"disabled,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
TTL string `json:"ttl,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
|
||||
Address string `json:"address,omitempty"`
|
||||
CNAME string `json:"cname,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue