Your next big idea starts with a name. Find yours
The blogDNS
THE NAMESILO BLOG

How to Set Up Custom Nameservers (Glue Records)

Importance of Glue Records

To set up custom nameservers, you must register "Glue Records" with your domain registrar. Glue records map your custom nameserver hostnames (like ns1.yourdomain.com) directly to your web server's IP addresses at the registry level. Once registered, you and your clients can use these custom nameservers to route domain traffic globally.

What Are Custom Nameservers and Glue Records?

Custom nameservers let you use branded hostnames like ns1.youragency.com instead of generic ones like ns1.hostingcompany.com.

But this creates a chicken-and-egg problem: How does the internet find ns1.yourdomain.com if yourdomain.com is hosted on ns1.yourdomain.com? The lookup requires the nameserver, but finding the nameserver requires the lookup.

Glue records solve this. They're special DNS entries stored at the TLD registry level (not your domain's zone file) that directly map nameserver hostnames to IP addresses. When resolvers query .com for yourdomain.com, the registry returns both the nameserver hostname AND its IP, breaking the circular dependency.

Record Type

Where It Lives

Purpose

Regular A Record

Your domain's zone

Points hostname to IP

Glue Record

TLD registry (.com, .net)

Points nameserver to IP at registry level

Without glue records, custom nameservers under your own domain simply won't resolve.

Why It Matters: Professional Branding

Custom nameservers signal professionalism to clients:

Agency white-labeling: Clients see ns1.youragency.com in their WHOIS, not third-party hosting branding.

Reseller operations: Build your hosting business with infrastructure that appears fully owned.

Enterprise perception: Large organizations expect vendors to control their own DNS infrastructure.

For resellers and agencies managing client domains, custom nameservers are essential for a premium brand experience.

Decision Framework: Custom vs Default Nameservers

Factor

Custom Nameservers

Default Registrar NS

Setup complexity

Moderate

None

Branding

Full white-label

Third-party visible

Maintenance

You manage DNS servers

Provider manages

Best for

Agencies, resellers, enterprises

Individual site owners

Choose custom nameservers when: You're running an agency, reselling hosting, or need branded infrastructure for client perception.

Choose default nameservers when: You're managing personal domains and simplicity matters more than branding.

Implementation Steps

Step 1: Get Your Server IPs Obtain IPv4 addresses of your DNS servers. You need at least two for redundancy.

Step 2: Log into NameSilo Open Domain Manager and select the domain hosting your nameservers.

Step 3: Access DNS Manager Click the blue globe icon 🌎.

Step 4: Register Nameservers Scroll to "Registered Name Servers" section, click Manage. Add hosts (e.g., ns1) with IPs.

Step 5: Configure DNS Software Your DNS server (BIND, PowerDNS) must be running and configured to answer queries.

Step 6: Point Domains Update any domain's nameservers to your custom ones.

For details, see Manage Name Servers.

Common Mistakes

Only creating A records: Adding ns1 as an A record isn't enough. You must register the nameserver via glue records.

Single nameserver: Most registries require two nameservers for redundancy.

Mismatched IPs: Glue record IP must match your actual server. Update if IPs change.

Forgetting DNS software: Glue records route traffic to your server, but it must run DNS software.

What This Means for You

NameSilo makes nameserver registration straightforward. The "Registered Name Servers" tool handles glue record creation automatically, no manual registry interaction required.

Search for your domain, register your nameservers, and present a fully branded DNS infrastructure to clients.

Why private nameservers need two sets of records

If example.com uses ns1.example.com as its nameserver, a resolver cannot first ask example.com's nameserver where ns1.example.com lives. The parent zone needs the address as glue to break that circular dependency. Register the child host and its IP with the registrar, then create matching A or AAAA records in your authoritative zone. These are separate operations; an ordinary A record alone does not register a nameserver with the registry.

Before changing client delegations, confirm that both nameservers answer authoritatively for each client's zone and that their addresses match the registered glue. An agency-branded nameserver also needs a working DNS service behind it, not just a hostname.

Frequently Asked Questions

What is a glue record? 

A registry-level record mapping nameserver hostnames to IPs.

Do I need custom nameservers? 

Only if branding or white-label hosting matters to your business.

How long do custom nameservers take to propagate? 

24-48 hours globally, often faster.

Can I have custom nameservers without web hosting? 

You need DNS server software running, VPS, dedicated, or managed DNS.

What is white-label hosting? 

Reselling hosting under your brand without revealing the provider.

How do I find the IP address for my nameserver? 

Check your VPS or server control panel for IPv4 addresses.

Why are my custom nameservers not working? 

Missing glue records, DNS software not running, or propagation incomplete.

Does NameSilo charge to register nameservers? 

No. Glue record registration is free.

WRITTEN BY

NameSilo Staff

The NameSilo staff of writers worked together on this post. It was a combination of efforts from our passionate writers that produce content to educate and provide insights for all our readers.