code: func (client *Client) CreateDomain(ctx context.Context, name string) (*DNSDomain, error) {
  	m, err := json.Marshal(DNSDomainResponse{
  		Domain: &DNSDomain{
  			Name: name,
  		},
  	})
  	if err != nil {
  		return nil, err
  	}
  
  	resp, err := client.dnsRequest(ctx, "/v1/domains", nil, string(m), "POST")
  	if err != nil {
  		return nil, err
  	}
  
  	var d *DNSDomainResponse
  	if err := json.Unmarshal(resp, &d); err != nil {
  		return nil, err
  	}
  
  	return d.Domain, nil
  }
docs: // CreateDomain creates a DNS domain