Score:0

A record in Route 53 doesn't resolve

ro flag

I added an A record in my Route 53 hosted zone pointing to the CloudFront. But for some reason, it doesn't work.

route 53 hosted zone screenshot

route 53 A record edit popup

When I do dig mywebsite.com

I get

; <<>> DiG 9.16.1-Ubuntu <<>> mywebsite.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42985
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;mywebsite.com.         IN  A

;; Query time: 71 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Пт окт 01 20:29:47 MSK 2021
;; MSG SIZE  rcvd: 41

I just don't understand why my A record is empty here.

I added ns records to my domain registrator's panel.

; <<>> DiG 9.16.1-Ubuntu <<>> ns mywebsite.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2245
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;mywebsite.com.         IN  NS

;; ANSWER SECTION:
mywebsite.com.      2435    IN  NS  ns-1899.awsdns-45.co.uk.
mywebsite.com.      2435    IN  NS  ns-881.awsdns-46.net.
mywebsite.com.      2435    IN  NS  ns-494.awsdns-61.com.
mywebsite.com.      2435    IN  NS  ns-1077.awsdns-06.org.

;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Пт окт 01 20:34:00 MSK 2021
;; MSG SIZE  rcvd: 181
Tim avatar
gp flag
Tim
Please edit your question to show a screenshot of Route53. You'll get better, faster help if you share your actual domain name.
Score:0
ro flag

When you host static website on S3, then:

  1. Make sure your bucket name is the same as your domain name
  2. Enable static website hosting option in bucket settings.
Score:0
vn flag

dhyk57ve7wact.cloudfront.net doesn't resolve. The A record looks fine, assuming you have it configured as an alias.

Dmitrii Mikhailov avatar
ro flag
I added another screenshot of the A record in edit form. It's my cloudfront distribution domain name
vn flag
Right, so it is an alias and the problem is dhyk57ve7wact.cloudfront.net doesn't resolve.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.