To debug Route53 issues via AWS CLI:
akhilvaryani@Akhils-MacBook-Pro Repos % aws route53 list-hosted-zones-by-name --dns-name testpods5-deploy.scoutflo.com
{
"HostedZones": [
{
"Id": "/hostedzone/Z0898398RTDGF56QQL0J",
"Name": "testpods5-deploy.scoutflo.com.",
"CallerReference": "2023-12-11-17:21:09",
"Config": {
"PrivateZone": false
},
"ResourceRecordSetCount": 2
}
],
"DNSName": "testpods5-deploy.scoutflo.com",
"IsTruncated": false,
"MaxItems": "100"
}
Then use the hosted zone ID from the above in the below command:aws route53 list-resource-record-sets --hosted-zone-id Z0898398RTDGF56QQL0J
This will list all the records in that particular hosted zone