Skip to content

Commit

Permalink
Merge pull request #197 from LBGarber/allow-empty-lists-domains
Browse files Browse the repository at this point in the history
Allow empty MasterIPs and AXfrIPs
  • Loading branch information
0xch4z authored May 11, 2021
2 parents ab0d0db + 924ee78 commit b08ff15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ type DomainCreateOptions struct {
RetrySec int `json:"retry_sec,omitempty"`

// The IP addresses representing the master DNS for this Domain.
MasterIPs []string `json:"master_ips,omitempty"`
MasterIPs []string `json:"master_ips"`

// The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
AXfrIPs []string `json:"axfr_ips,omitempty"`
AXfrIPs []string `json:"axfr_ips"`

// An array of tags applied to this object. Tags are for organizational purposes only.
Tags []string `json:"tags"`
Expand Down Expand Up @@ -124,10 +124,10 @@ type DomainUpdateOptions struct {
RetrySec int `json:"retry_sec,omitempty"`

// The IP addresses representing the master DNS for this Domain.
MasterIPs []string `json:"master_ips,omitempty"`
MasterIPs []string `json:"master_ips"`

// The list of IPs that may perform a zone transfer for this Domain. This is potentially dangerous, and should be set to an empty list unless you intend to use it.
AXfrIPs []string `json:"axfr_ips,omitempty"`
AXfrIPs []string `json:"axfr_ips"`

// An array of tags applied to this object. Tags are for organizational purposes only.
Tags []string `json:"tags"`
Expand Down

0 comments on commit b08ff15

Please sign in to comment.