CloudFront / Client / verify_dns_configuration
verify_dns_configuration¶
- CloudFront.Client.verify_dns_configuration(**kwargs)¶
Verify the DNS configuration for your domain names. This API operation checks whether your domain name points to the correct routing endpoint of the connection group, such as d111111abcdef8.cloudfront.net. You can use this API operation to troubleshoot and resolve DNS configuration issues.
See also: AWS API Documentation
Request Syntax
response = client.verify_dns_configuration( Domain='string', Identifier='string' )
- Parameters:
Domain (string) – The domain name that you’re verifying.
Identifier (string) –
[REQUIRED]
The ID of the distribution tenant.
- Return type:
dict
- Returns:
Response Syntax
{ 'DnsConfigurationList': [ { 'Domain': 'string', 'Status': 'valid-configuration'|'invalid-configuration'|'unknown-configuration', 'Reason': 'string' }, ] }
Response Structure
(dict) –
DnsConfigurationList (list) –
The list of domain names, their statuses, and a description of each status.
(dict) –
The DNS configuration for your domain names.
Domain (string) –
The domain name that you’re verifying.
Status (string) –
The status of your domain name.
valid-configuration
: The domain name is correctly configured and points to the correct routing endpoint of the connection group.invalid-configuration
: There is either a missing DNS record or the DNS record exists but it’s using an incorrect routing endpoint. Update the DNS record to point to the correct routing endpoint.unknown-configuration
: CloudFront can’t validate your DNS configuration. This status can appear if CloudFront can’t verify the DNS record, or the DNS lookup request failed or timed out.
Reason (string) –
Explains the status of the DNS configuration.
Exceptions