cli53 icon indicating copy to clipboard operation
cli53 copied to clipboard

CNAME records require dot when updating record but 'export' command exports without trailing dot

Open nikolaydimitrov opened this issue 8 years ago • 4 comments

Issue type

  • Bug report

cli53 version (0.8.8)

OS / Platform

Mac OS 10.11.6

Steps to reproduce

Zone and records created manually in the AWS console. Export a zone with 'cli53 export'. Replace some CNAME records from the exported file.

Expected behaviour

Correct CNAMEs to be exported so they are consistent with 'rrcreate --replace' command

Actual behaviour

Exported CNAMEs have not trailing dot (.)

Have you checked if the documentation has the information you require?

Yes

Could you contribute a fix or help testing with this issue?

Not at the moment

nikolaydimitrov avatar Jul 11 '17 10:07 nikolaydimitrov

Just to add, that CNAME records updated with cli53 after exporting return without the trailing dot but also without the zone name, so it makes sense in that case. The bug above is about CNAME records created manually in the AWS console.

nikolaydimitrov avatar Jul 11 '17 10:07 nikolaydimitrov

Just came across this yesterday as well. The export actually returns whatever is in the value field in R53. Since R53 doesn't require the '.' a lot of people don't use it. I always do from habit and proper formatting. So if you put a '.' in the value you get it in the export. In my case I get a mixed bag some with and some without.

cpembleton avatar Jul 12 '17 13:07 cpembleton

Any status on getting this fixed?

ITBlogger avatar Apr 16 '18 18:04 ITBlogger

I think this is caused by #280, does that match the behavior y'all are seeing? Is this project even being maintained anymore?

mostfunkyduck avatar Oct 17 '19 16:10 mostfunkyduck