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

Unable to remove wildcard A record #7

Closed kvz closed 13 years ago

kvz commented 13 years ago

Hello,

First of all thanks for this wonderful gem. Works great for us. I may have found 1 issue though. I'm able to add wildcard records like so:

route53 --zone transloadit.com. -r --name \*.camilla.transloadit.com. --type A --values 123.123.123.123

But am unable to remove them:

route53 --zone transloadit.com. -r --name \*.camilla.transloadit.com. --type A
ERROR: Couldn't Find Record for @options.zone of type A.

I tried different ways of quoting & escaping the asterisk, but to no avail. Any idea?

pcorliss commented 13 years ago

Great find!

Looks like an issue with the response/request getting escaped out. You should be able to safely delete records that use an asterix via the menu or by using the escaped character in place of the asterix. In this case it's listed as '\052'.

I'll get a fix out in the next few days. Sorry for the trouble and thanks for using the gem.

menu delete

route53 --zone example.com. -r

explicit delete

route53 --zone example.com. -r --name '\052.example.com'

kvz commented 13 years ago

Didn't work, but this one did:

route53 --zone transloadit.com. -r --name "\052.jacinta.transloadit.com." --type A

Thanks

pcorliss commented 13 years ago

Just released a new version which fixes this issue and adds in support for zone apex and weighted resource record sets.

kvz commented 13 years ago

Awesome, thanks!

On Mon, May 30, 2011 at 6:28 PM, pcorliss reply@reply.github.com wrote:

Just released a new version which fixes this issue and adds in support for zone apex and weighted resource record sets.

Reply to this email directly or view it on GitHub: https://github.com/pcorliss/ruby_route_53/issues/7#comment_1262191

Met vriendelijke groet / Kind regards,

Kevin van Zonneveld http://kevin.vanzonneveld.net

http://twitter.com/kvz