Hacker News new | ask | show | jobs
by pekalicious 2638 days ago
Try this: https://www.humanreadablemag.com/morningcupofcoding

I think I messed up the DNS settings.

2 comments

Both name servers for humanreadablemag.com, when asked about www.humanreadablemag.com, returns two CNAME records, leading to different names:

  www.humanreadablemag.com. 900   IN      CNAME   humanreadablemag.com.
  www.humanreadablemag.com. 900   IN      CNAME   ext-cust.squarespace.com.
This is not even allowed by the DNS RFC’s, so I don’t know how you even managed to do this. Fortunately the TTL is only 15 minutes, so when you fix it, it should propagate quickly.

Also, non-www links, i.e. humanreadablemag.com, redirects to www. This is normally recommended, but since it’s the DNS records for www that’s broken, it does make it impossible to read the site at present.

Until you fix your DNS, anyone could add these lines to their /etc/hosts file to make your site accessible for them:

  198.185.159.145 www.humanreadablemag.com
  198.185.159.144 www.humanreadablemag.com
  198.49.23.144 www.humanreadablemag.com
  198.49.23.145 www.humanreadablemag.com
So, the squarespace one I think was automatically added when I connected my account to it. The "humanreadablemag.com" one I guess was there before I connected squarespace and is used for "www".

I guess I should delete the latter? I don't want to do anything stupid and bring the site down :/

As far as I can tell, you can delete either one of the CNAME records, since both of their targets have the same set of A records. But if you really want to be sure, your hosting provider (Squarespace in this case) should have explicit instructions on how to configure your DNS records.
I removed the non-squarespace one and everything seems fine. How do I check if the issue you found is resolved?
Yes, seems fine now.

  dig +norecurse +nocmd +noall +answer @ns1.hover.com www.humanreadablemag.com
Or, if you like, https://zonemaster.net/
Still not working for me.