CmdID / aws / aws cloudfront
aws cloudfront verify-dns-configuration
Verify the DNS configuration for your domain names. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To verify DNS configuration for a domain
The following verify-dns-configuration example verifies the DNS configuration for a domain.
aws cloudfront verify-dns-configuration --domain example.com --identifier dt_2x9GhoK0TZRsohWzv1b9It8J1ABIdentify--domainThe domain name that you're verifying.--identifierThe identifier of the distribution tenant.Its output
{
"DnsConfigurationList": [
{
"Domain": "example.com",
"Status": "valid-configuration"
}
]
}For more information, see Move an alternate domain name to a different distribution in the Amazon CloudFront Developer Guide.
Options
--domainThe domain name that you're verifying.--identifierThe identifier of the distribution tenant.