Skip to content

Commit

Permalink
Merge pull request #46 from squat/fix_dns_domain
Browse files Browse the repository at this point in the history
lib: fix DNS domain creation
  • Loading branch information
JamesClonk authored Aug 8, 2017
2 parents 5ace2a5 + 79afc9b commit 2fd0705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (c *Client) GetDNSRecords(domain string) (records []DNSRecord, err error) {
func (c *Client) CreateDNSDomain(domain, serverIP string) error {
values := url.Values{
"domain": {domain},
"serverIP": {serverIP},
"serverip": {serverIP},
}

if err := c.post(`dns/create_domain`, values, nil); err != nil {
Expand Down

0 comments on commit 2fd0705

Please sign in to comment.