webzod
account

Make unreachable nameservers answer, or remove them

dns.ns.unreachable · effort: about an hour

Why it matters

A nameserver in the delegation does not answer queries at all, so lookups that reach it wait and then fail over to another server. That slows the site and leaves you without redundancy.

Staged change. Do this in stages and check each one before the next, so a mistake does not break your site or your mail.

The fix

  1. Check that the DNS service is running on the server and listens on port 53 for both UDP and TCP.
  2. Check the firewall and network rules, including cloud security groups. Both UDP and TCP port 53 must be open to the whole internet, not only to your own addresses.
  3. If the server has been retired, remove it from the delegation at your registrar and keep at least two working nameservers.
  4. Confirm with the command below, once over UDP and once over TCP.
bash
# replace ns1.example.net with a nameserver from the delegation
dig +norec @ns1.example.net SOA example.com
dig +norec +tcp @ns1.example.net SOA example.com

The examples use example.com. Replace it with your own domain.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.