Skip to content

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

Description

@davidljung

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 ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions