This content originally appeared on DEV Community and was authored by Warren Parad
Making changes to DNS looks easy, but in the end something almost always goes wrong. Worst of all it is never really clear what the problem is or how to fix it.
I've been waiting a long time for Route53 to propagate my DNS changes.
You've likely changed your NS records, switched providers, or hosted zones, but your www
or apex domain still isn't resolving.
How long is a long time, I've found on average (assuming minimal TTL for records) that resolution will work in 3 minutes. That's right if it isn't working in 3 minutes, you did something wrong. Sorry to be the bearer of bad news. (This number isn't true for Indian DNS, I don't what it is about Indian DNS, but frequently it can take over 24 hours for an update to propagate).
Let's say it has been an hour and you are still waiting. Me at this point, I would have already been clicking a 100 different things, how you managed to wait a whole hour is medal worthy. You have the patience of virtue, congrats.
So what's wrong?
Let's check to see what dig
says:
dig DOMAIN NS
What do you get back, if you get back 4 NS DNS values, great, if they match your hosted zone, even better.
Correct Response
;; ANSWER SECTION:
authress.io. 172800 IN NS ns-181.awsdns-22.com.
authress.io. 172800 IN NS ns-796.awsdns-35.net.
authress.io. 172800 IN NS ns-1141.awsdns-14.org.
authress.io. 172800 IN NS ns-1563.awsdns-03.co.uk.
But if you get this:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 48896
Then you know your domain name configuration (NOT the hosted zone) is incorrectly configured.
Go back and copy your hosted zone NS values TO your Domain name configuration. FROM AWS Route53 TO Domain Configuration. (For some reason hosted zone providers let you change your NS, why is beyond me, and this is always wrong) Do Not Change your NS record values. You are looking to change the property called Name Servers
.
Come join our Community and discuss this and other security related topics!
This content originally appeared on DEV Community and was authored by Warren Parad
Warren Parad | Sciencx (2022-01-21T16:06:24+00:00) My DNS doesn’t work. Retrieved from https://www.scien.cx/2022/01/21/my-dns-doesnt-work/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.