1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
The Route 53 configuration is set to an A record for the API Gateway.
Where is the domain "blahblah.com" hosted?
If you check the NS record for "blahblah.com", you will see an NS record that is not Route53.
I don't think you can create a domain with an A record for a domain in API Gateway if it's not hosted on Route53.
dig blahblah.com ns
; <<>> DiG 9.16.1-Ubuntu <<>> blahblah.com ns
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40788
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;blahblah.com. IN NS
;; ANSWER SECTION:
blahblah.com. 3600 IN NS ns52.domaincontrol.com.
blahblah.com. 3600 IN NS ns51.domaincontrol.com.
;; Query time: 82 msec
;; SERVER: 192.168.11.1#53(192.168.11.1)
;; WHEN: Fri May 17 15:59:05 JST 2024
;; MSG SIZE rcvd: 93
If you want to use a domain hosted by an external registrar with Route53, please configure the domain delegation settings.
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingSubdomain.html
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- How do I troubleshoot the errors I get when I use AWS CloudFormation to create Route 53 record sets?AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
Oh, thanks for the reply, Riku! It's really amazing to see reply from the 1st ranked expertise in my question! BTW, I've set the external registrar and return for my actual ns record is from aws!
xxxx.me. 900 IN SOA ns-xxxx.awsdns-13.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
And I've checked that there's a difference between ns record in Route53, So I've set the name servers as the result for the dig command.
The fact that the NS records can be confirmed successfully using the "dig" command means that the hosted zone itself is being used normally. Therefore, it is possible that it is just taking time to propagate the domain set in API Gateway and resolve the name. https://repost.aws/knowledge-center/route-53-propagate-dns-changes