HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/ec2/reset-address-attribute.rst
**To reset the domain name attribute associated with an elastic IP address**

The following ``reset-address-attribute`` examples reset the domain name attribute of an elastic IP address.

Linux::

    aws ec2 reset-address-attribute \
        --allocation-id eipalloc-abcdef01234567890 \
        --attribute domain-name

Windows::

    aws ec2 reset-address-attribute ^
        --allocation-id eipalloc-abcdef01234567890 ^
        --attribute domain-name

Output::

    {
        "Addresses": [
            {
                "PublicIp": "192.0.2.0",
                "AllocationId": "eipalloc-abcdef01234567890",
                "PtrRecord": "example.com."
                "PtrRecordUpdate": {
                    "Value": "example.net.",
                    "Status": "PENDING"
            }
        ]
    }

To monitor the pending change, see `describe-addresses-attribute <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-addresses-attribute.html>`__ in the *AWS CLI Command Reference*.