Bug? TTL of A record in Route 53 is not exceeding beyond 300 seconds.

0

In Route 53 console, there is a TTL input section that we can specify for a DNS record. I created a record with 86400 seconds and tried seeing the DNS from Cloud Shell using the dig url command, the TTL comes out as 300 seconds. I need help with the query please!

Enter image description here Enter image description here

Enter image description here Enter image description here

  • Can you share debug example?

  • Please check the screenshots I just attached with the question. Let me know if I am doing something wrong here.

Vinayak
asked 4 months ago166 views
1 Answer
0

Hi,

Do you query the origin DNS server via dig?

If you query an intermediate server between you the origin DNS (Route53 here), the TTL may have been overwritten by this one or any on the route up to the origin.

So, make sure that you query the DNS origin Route53 server to check the 86400. So, use @server option of dig: see https://linux.die.net/man/1/dig

Best,

Didier

profile pictureAWS
EXPERT
answered 4 months ago
  • Please check the screenshots I just attached with the question. Let me know if I am doing something wrong here.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions