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

UrbeStack sysadmin note about BIND. Last updated 30 Nov 2026.

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

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
```

At the registrar for the domain that contains the nameserver names, register `ns1` and `ns2` with that IP address.

Then trace the delegation from the root.

```
dig NS example.com +trace
```

The last answer in the trace comes from the server's nameservers.

If the problem persists after you follow this note, you can [open a support ticket](https://support.urbestack.com/new?type=support). Including the output of the commands you ran helps support diagnose the problem.
