lmammino / godaddy-dns

A Node.js script to programmatically update GoDaddy DNS records
https://lmammino.github.io/godaddy-dns/
MIT License
78 stars 21 forks source link

cannot set 2 A records #10

Closed ericlenio closed 8 years ago

ericlenio commented 8 years ago

My config:

{
  "apiKey":"xxx",
  "secret":"xxx",
  "domain":"example.com",
  "records":[
    {"name":"cloud1","type":"A","ttl":3600},
    {"name":"ltc","type":"A","ttl":3600}
  ]
}

when I run this I see:

[Mon Oct 10 2016 10:49:43 GMT+0000 (UTC)] Failed request to GoDaddy Api Another record with the same attributes already exists

The "ltc" record does get properly set, but not "cloud1". Basically, I want 2 A records pointing to the same IP. Any thoughts?

lmammino commented 8 years ago

This seems to have been resolved by https://github.com/lmammino/godaddy-dns/pull/11. The new version is available on NPM.

@ericlenio feel free to re-open this if the issue is still standing for you.

ericlenio commented 7 years ago

Works now, I successfully updated 3 "A" records that all pointed to the same IP. Thanks.