Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to update a zone apex A record to a regular A record #17

Open
davidljung opened this issue Dec 2, 2011 · 0 comments
Open
Labels

Comments

@davidljung
Copy link

Given a DNSRecord object that represents a zone apex virtual A record, it isn't possible to update it to be a regular A record (with IP address) using update:

record.update(nil,nil,nil,ip_address,nil,nil)

causes the error below, because passing nil for the zone_apez param of update() indicates no-change. There seems to be no way to set it to nil (if that is the appropriate value for non-apex virtual A records).

ERROR: Amazon returned an error for the request.
ERROR: RAW_XML:
<Error>SenderInvalidChangeBatchTried to create an alias that targets resortsvacation.com., type A in zone Z3DZXE0Q79N41H, but that target was not foundedc17977-1d34-11e1-9388-b50d1a7693b8
ERROR: InvalidChangeBatch: Tried to create an alias that targets resortsvacation.com., type A in zone Z3DZXE0Q79N41H, but that target was not found
.
What now? You may have tried to delete a NS or SOA record. This error is safe to ignore if you're just trying to delete all records as part of a zone prior to deleting the zone. Or you may have tried to create a record that already exists. Otherwise please file a bug by sending a detailed bug ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant