Skip to main content

POST /api/domain/verify-dns/

Performs live DNS lookups to verify that DNS records are properly configured.

Purpose

This endpoint provides optional verification by checking:
  1. SSL validation CNAME (Part 1)
  2. www CNAME pointing to CloudFront (Part 2)

Architecture

Internal Services

lookup_cname

Performs DNS CNAME lookup for a given hostname. Location: src/app/shared/cloudfront.py

Response Fields

FieldTypeDescription
ssl_cname_foundbooleanWhether SSL validation CNAME is configured
www_cname_foundbooleanWhether www CNAME points to CloudFront
proxy_statusstringCurrent/updated proxy status
messagestringHuman-readable status message

Status Transitions

Current StatusConditionNew Status
PENDING_VALIDATIONSSL CNAME foundSSL_VALIDATING
SSL_VALIDATEDwww CNAME foundDEPLOYED

Code Location

src/app/apis/domain/verify_dns/routes.py