Route53 hosted zone name servers IPs

0

Hi, I'm trying to setup route53 as dns service for a domain registered outside aws.

The provider accept NS only as ip address, is it safe to convert route53 hosted zone NS from hostnames to IPs?

For this operation I would use dig, but I'm not sure if the ip could change at some point.

For example: ns-123.awsdns-456.net ---> 1.2.3.4

Thank you Gabriele

asked 10 months ago356 views
1 Answer
1

https://aws.amazon.com/route53/faqs/ https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/route-53-ip-addresses.html

as per the ref above

When you create a hosted zone in Amazon Route 53, the service automatically assigns a set of name servers to the zone, and these name servers are presented as hostnames, not IP addresses​. In terms of safety, while it's technically possible to convert these name servers from hostnames to IP addresses using a tool like dig, it's important to note that AWS does not recommend adding, changing, or deleting name servers in the NS record except in rare circumstances​. Furthermore, while AWS rarely changes the IP addresses of name servers and promises to notify users in advance if they need to make such a change​, this does not entirely eliminate the risk. The IP addresses could potentially change, and if you're using the IP addresses directly, this could disrupt DNS resolution for your domain. As such, it's generally safer and more reliable to use the NS records provided by Amazon Route 53 as they are, in the form of hostnames. If your domain registrar only accepts NS records as IP addresses, you might want to consider transferring your domain to a registrar that supports NS records in the form of hostnames.

profile picture
EXPERT
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago

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