Set Up Branded Private Nameservers (ns1/ns2.yourbrand.com)

Updated: 4 December 20264 min read5 viewsMarkdown

You can give your reseller clients nameservers that carry your own brand, such as ns1.yourbrand.com and ns2.yourbrand.com. Clients point their domains to these names, while your reseller server still answers the queries behind the scenes. Setup has two parts: a glue record on the domain side and A records on the DNS side.

Two nameserver tags from a brand badge pointing to the reseller server
Two branded names, one server behind them.

Before you start

  • You need an active reseller hosting service and a domain to use for the nameservers (yourbrand.com).
  • Get the IP addresses to use for ns1 and ns2. They are specific to your account: open a ticket from the client area, say you want branded nameservers and ask for the IPs. The examples here use 203.0.113.10 and 203.0.113.11.
  • You need access to the registrar panel for the domain. If the domain is registered with Voligen, you do this in the client area.
Why a glue record?

When yourbrand.com uses ns1.yourbrand.com as its own nameserver, there is a loop: you need the address to find the address. A glue record breaks it by writing the IPs of ns1 and ns2 straight into the registry (for example the .com registry).

Setup steps

  1. Get the IP addresses. Note the ns1 and ns2 IPs from our support team's reply.
  2. Register the child nameservers (glue). If the domain is with Voligen, open yourbrand.com under Client Area > Domains, and in Child Nameservers use Add Child Nameserver to create ns1.yourbrand.com → 203.0.113.10 and ns2.yourbrand.com → 203.0.113.11. At other registrars this is usually called "Child Nameservers", "Host Records" or "Glue Records".
  3. Assign the nameservers. Once the glue records exist, set the nameservers of yourbrand.com and your clients' domains to ns1.yourbrand.com / ns2.yourbrand.com.
Three steps: server IP card, child nameserver form, nameserver fields filled in
1: Get the IPs, 2: add the glue records, 3: update the domains' nameservers.

A records in the DNS zone

Besides the glue record, the yourbrand.com DNS zone itself needs A records for the same names. If the domain is hosted on your reseller account, open the zone in WHM under DNS Functions > Edit DNS Zone and add or confirm:

ns1.yourbrand.com.   IN  A   203.0.113.10
ns2.yourbrand.com.   IN  A   203.0.113.11

The IPs in the glue records and the A records must match exactly.

Default nameservers for new accounts

To show your branded nameservers on the summary screen and in welcome emails for accounts you create in WHM, ask in your ticket for your reseller account's default nameservers to be set to ns1.yourbrand.com and ns2.yourbrand.com.

Warning

Before moving existing client domains to the new nameservers, test that the new names answer correctly. A misconfigured nameserver makes every site and mailbox pointing to it unreachable.

Testing

Changes can take a few hours to propagate. Check from the command line:

dig +short A ns1.yourbrand.com
dig +short NS client-example.com
nslookup ns2.yourbrand.com

The first command should return the IP address, the second your branded nameservers.

Troubleshooting

SymptomLikely causeFix
Registrar says "nameserver not found"Assigning the nameserver before the glue record existsAdd the child nameservers first, then assign them.
ns1 returns a different IPGlue and A records do not matchMake the IPs identical in both places.
Works on some networks, not othersDNS propagation in progressWait until caches expire.

Frequently asked questions

Do branded nameservers affect performance?

No. Only the names change; the infrastructure answering the queries is the same.

Is ns1 alone enough?

No. Domain registries require at least two nameservers.

My main brand is a .com.tr domain. Can I use it?

Yes, as long as the extension supports child nameservers (glue). Check your registrar panel for the option, or open a ticket.

For the IP addresses and default nameserver setting, open a ticket from the client area. Domain services: Domains.

Was this article helpful?
Thank you for your feedback.