Get your free beta license ↗
DNS and certificates · BIND

A domain does not resolve after moving to the server's nameservers

Last updated 30 Nov 2026
Summary

A domain stops resolving after you switch to the server's BIND nameservers, or the registrar refuses the nameserver names. Register glue records with the server's IP address at the registrar for the domain that contains the nameserver names.

Symptoms

After you change its nameservers at the registrar, the domain does not resolve. The registrar may instead refuse ns1.example.net because it does not recognize the host.

Cause

UrbeStack's zones list the server's nameservers. By default, these are ns1 and ns2 under the server's hostname. The server's own zone gives both names the server's IP address.

When a nameserver name is inside a domain, such as ns1.example.net inside example.net, resolvers can find its IP address only through the parent zone. The registrar for example.net must hold that IP address as a glue record, often called a host record or a child nameserver.

Without glue records, resolvers cannot reach the nameservers, and the domains that use them do not resolve.

Resolution

  1. Query BIND for the nameservers UrbeStack writes and their IP address.

    dig +short NS example.com @127.0.0.1
    dig +short A ns1.example.net @127.0.0.1
  2. At the registrar for the domain that contains the nameserver names, register ns1 and ns2 with that IP address.

  3. Then trace the delegation from the root.

    dig NS example.com +trace
  4. The last answer in the trace comes from the server's nameservers.