pcorliss / ruby_route_53

Ruby gem and command line tool for Amazon's Route 53 service.
blog.50projects.com
GNU General Public License v3.0
172 stars 32 forks source link

Update SOA record #28

Closed guigeekz closed 10 years ago

guigeekz commented 11 years ago

I would like to know if it's possible to update the default SOA record with the route53 lib.

Because when I update it, I have this error: "ERROR: InvalidChangeBatch: Tried to delete resource record set [name='test.fr.', type='SOA'] but the values provided do not match the current values"

Is it because the function update do a Delete/Create actions(and we can't delete the SOA record), so when he want to delete the prev SOA, he refuse?

Thank you for your answer.

pcorliss commented 11 years ago

I think that's correct. Looks like an existing bug.

guigeekz commented 11 years ago

Can it be fixed?

Just one more question,

I put in the last parameter 'values' of the update function for a SOA this :

values = ['ns-1200.awsdns-22.org.', 'awsdns-hostmaster.amazon.com.', 2013091750, 3600, 900, 1209600, 300]

The format is great?

Thank you