Registrar TTL

We are currently using Cloudflare as a registrar for one of our domains.
We need to change the registrar to the AWS instead.
I can find the instructions on how to do this, that’s not an issue.

However, the recommendation before such migration is to reduce the TTL on the domain registration NS record so that there’s a minimal downtime if something goes wrong in the transition. I can’t see where within Cloudflare dashboard I can do this. I believe I am looking in the right place - Registrar dashboard (accessed it via “Manage domain”).

Also, I am not clear what the value is actually set to currently, I am getting a different result depending on who is responding.

My local ISP has TTL set to 1day (86176 seconds)
Here’s the output:

~ % dig ns matchesapidev.com

; <<>> DiG 9.10.6 <<>> ns mydomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49010
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 13

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

;; ANSWER SECTION:
mydomain.com.	86400	IN	NS	ben.ns.cloudflare.com.
mydomain.com.	86400	IN	NS	sara.ns.cloudflare.com.

;; Query time: 14 msec
;; SERVER: 194.168.4.100#53(194.168.4.100)
;; WHEN: Mon Aug 15 13:12:32 BST 2022
;; MSG SIZE  rcvd: 361
```

Google has it at 6 hours (21600)

```
~ % dig ns mydomain.com @8.8.8.8

; <<>> DiG 9.10.6 <<>> ns mydomain.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47411
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
mydomain.com.	21600	IN	NS	ben.ns.cloudflare.com.
mydomain.com.	21600	IN	NS	sara.ns.cloudflare.com.

;; Query time: 26 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Aug 15 13:14:10 BST 2022
;; MSG SIZE  rcvd: 97
```
At the moment main concern is how to reduce the TTL, would really appreciate some assistance on this, not sure I am missing something obvious here, as not an expert on DNS-related matters.

Hmm, I must have an extra set of code snippet quotes, some of the text ended up within the output examples, apologies
J

TTL for name servers is set at the root zone for your TLD, i.e a.gtld-servers.net

matchesapidev.com.	172800	IN	NS	ben.ns.cloudflare.com.
matchesapidev.com.	172800	IN	NS	sara.ns.cloudflare.com.
;; Received 910 bytes from 192.5.6.30#53(a.gtld-servers.net) in 36 ms

That isn’t something that you can really change, it’s up to the DNS resolver to decide if it wants to have a lower maximum TTL but otherwise they should really adhere to what TTL they’re given.

Thanks @KianNH

Should I be able to change the max TTL, regardless of whether other servers want to use it or use a lower value? Can’t see where in Cloudflare UI I can do that…

This isn’t something I’ve had to do previously, working with existing stuff and trying to follow the recommendation to bring down the TTL on the registrar NS record before moving to another registrar. Appreciate the help with clarifying this for me :pray:t3:

PS looks like I didn’t do a good job at omitting the domain :sweat_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.