---
title: Setting Up Glue Records (Host Objects)
description: Set up glue records (host objects, child nameservers) for nameservers inside your domain like ns1.example.com, and how they differ from vanity nameservers.
---

[Skip to content](https://help.opusdns.com/setting-up-glue-records-/-host-objects#main-content)

- [English](https://help.opusdns.com/setting-up-glue-records-/-host-objects)
- [Deutsch](https://help.opusdns.com/de/setting-up-glue-records-/-host-objects)

English

Show submenu for translations

[![opusdns.com](https://help.opusdns.com/hs-fs/hubfs/v2-Status%20Center.png?width=180&height=51&name=v2-Status%20Center.png)](https://help.opusdns.com/?hsLang=en)

Open main navigation

Close main navigation

- - [English](https://help.opusdns.com/setting-up-glue-records-/-host-objects)
    - [Deutsch](https://help.opusdns.com/de/setting-up-glue-records-/-host-objects)

  English
  
  Show submenu for translations
- [Submit Ticket](https://support.opusdns.com/)

[Submit Ticket](https://support.opusdns.com/?hsLang=en)

 How can we help?

- There are no suggestions because the search field is empty.

1. [OpusDNS Knowledgebase](https://help.opusdns.com/?hsLang=en)
2. [OpusDNS Dashboard](https://help.opusdns.com/opusdns-dashboard?hsLang=en)
3. [Managing DNS Zones & Nameservers](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-dns-zones-nameservers)

November 15, 2026

# Setting Up Glue Records (Host Objects)

## Create glue records for in-zone nameservers such as ns1.example.com

### What are glue records (host objects)?

A glue record stores the IP address of a nameserver at the registry. You need glue records when the nameservers of a domain lie inside that same domain, for example `ns1.example.com` and `ns2.example.com` for `example.com`. Such nameservers are also called child nameservers or private nameservers.

 

#### Why they are needed

To find the IP address of `ns1.example.com`, a resolver would have to ask the nameserver of `example.com`, which is `ns1.example.com` itself. Without help, this is a loop. The glue record breaks it: the registry (the parent zone, for example `.com`) hands out the IP address of the nameserver together with the delegation, so resolvers can reach it directly.

 

#### Example

`example.com` uses `ns1.example.com` as nameserver. The glue record maps `ns1.example.com` to `192.0.2.1` and `2001:db8::1`.

 

### Add a glue record

Go to **Domains \> All Domains**, open the domain under which the nameserver hostnames live and choose **Nameservers \> Hosts**. The page **Host Objects** lists your hosts with **Hostname**, **IP Addresses**, **Created** and **Updated**. As long as you have not added a host, the list is empty.

![Empty Host Objects page of a domain with the Add Host button](https://help.opusdns.com/hs-fs/hubfs/kb-content-review/batch-03/en/en-hosts-table.png?width=670&height=340&name=en-hosts-table.png)

1. Click **Add Host**.
2. Under **Hostname**, enter only the first part, for example `ns1`. The domain is added automatically.
3. Under **IP Addresses**, enter the IPv4 or IPv6 address of the nameserver. Click **Add IP Address** to add more.
4. Click **Create**.
5. Repeat for the second nameserver, for example `ns2`. Use separate IP addresses for redundancy.

![Add Host dialog with hostname ns1 and two IP addresses](https://help.opusdns.com/hs-fs/hubfs/kb-content-review/batch-03/en/en-add-host-dialog.png?width=569&height=421&name=en-add-host-dialog.png)

Then set these hostnames as custom nameservers of the domains that should use them, see [Configuring Nameservers for Your Domain](https://help.opusdns.com/adding-nameservers-to-your-domain?hsLang=en).

 

### Edit or delete a host

- **Edit:** use the edit action in the row of the host. In the dialog **Edit Host** you can change the IP addresses.
- **Delete:** use the delete action in the row of the host and confirm the dialog, for example **Delete ns1.example.com**. This cannot be undone.

 

### TLDs without host objects

For some TLDs the registry does not use host objects. The **Hosts** page then shows "Host objects are not supported for this TLD. IP addresses for glue records are passed as nameserver attributes." In this case, choose **Custom nameservers** under **Nameservers \> Nameservers** and enter the IP addresses in the field **IP Addresses (optional)** of each nameserver.

 

### Glue records and vanity nameservers

Glue records and vanity nameservers are often confused. Glue records are a technical requirement so that nameservers inside a domain can be found. Vanity nameservers are a branding feature: your zones are served by OpusDNS under nameserver names of your own domain, set up under **DNS Zones \> Vanity Nameservers**.

Because the vanity nameserver names lie inside your own domain, glue records are recommended for them too. The **Diagnostics** of a vanity nameserver set check this with "Glue registered at registry" and "Glue visible in parent zone". For step-by-step instructions, see [Setting Up Vanity Nameservers](https://help.opusdns.com/setting-up-vanity-nameservers?hsLang=en).

 

[![Sign up for OpusDNS](https://help.opusdns.com/hs-fs/hubfs/Knowledge%20Base%20Banner_%201%20Dark.jpg?width=670&height=174&name=Knowledge%20Base%20Banner_%201%20Dark.jpg)](https://app.opusdns.com/signup?utm_source=knowledgebase&utm_medium=referral&utm_campaign=signup&utm_content=cta_banner)

- [Create your OpusDNS account](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#main-content)

    - [Open Your Account](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#open-your-account)
    - [FAQ](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#faq)
    - [Getting Help with your Registration](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#getting-help-with-your-registration)
- [OpusDNS API](https://help.opusdns.com/opusdns-api?hsLang=en#main-content)

    - [Getting Started with the API](https://help.opusdns.com/opusdns-api?hsLang=en#getting-started-with-the-api)
    - [Sandbox Environment](https://help.opusdns.com/opusdns-api?hsLang=en#sandbox-environment)
    - [OpusDNS MCP Server](https://help.opusdns.com/opusdns-api?hsLang=en#opusdns-mcp-server)
    - [FAQ](https://help.opusdns.com/opusdns-api?hsLang=en#faq)
    - [Getting Help with the OpusDNS API](https://help.opusdns.com/opusdns-api?hsLang=en#getting-help-with-the-opusdns-api)
- [OpusDNS Dashboard](https://help.opusdns.com/opusdns-dashboard?hsLang=en#main-content)

    - [Getting Started](https://help.opusdns.com/opusdns-dashboard?hsLang=en#getting-started)
    - [Plans & Pricing](https://help.opusdns.com/opusdns-dashboard?hsLang=en#plans-pricing)
    - [Billing & Payments](https://help.opusdns.com/opusdns-dashboard?hsLang=en#billing-payments)
    - [User & Organization Management](https://help.opusdns.com/opusdns-dashboard?hsLang=en#user-organization-management)
    - [Whitelabeling](https://help.opusdns.com/opusdns-dashboard?hsLang=en#whitelabeling)
    - [Account & Settings](https://help.opusdns.com/opusdns-dashboard?hsLang=en#account-settings)
    - [Security](https://help.opusdns.com/opusdns-dashboard?hsLang=en#security)
    - [AI Concierge](https://help.opusdns.com/opusdns-dashboard?hsLang=en#ai-concierge)
    - [Managing Contacts](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-contacts)
    - [Managing DNS Zones & Nameservers](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-dns-zones-nameservers)
    - [Register & Transfer Domains](https://help.opusdns.com/opusdns-dashboard?hsLang=en#register-transfer-domains)
    - [Managing Domains](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-domains)
    - [Bulk Jobs](https://help.opusdns.com/opusdns-dashboard?hsLang=en#bulk-jobs)
    - [Developer Area](https://help.opusdns.com/opusdns-dashboard?hsLang=en#developer-area)
    - [Dashboard Functionality](https://help.opusdns.com/opusdns-dashboard?hsLang=en#dashboard-functionality)
    - [Dashboard home page](https://help.opusdns.com/opusdns-dashboard?hsLang=en#dashboard-home-page)
- [Services & Features](https://help.opusdns.com/services-features?hsLang=en#main-content)

    - [Domain forwarding](https://help.opusdns.com/services-features?hsLang=en#domain-forwarding)
    - [Email forwarding](https://help.opusdns.com/services-features?hsLang=en#email-forwarding)
    - [Reports](https://help.opusdns.com/services-features?hsLang=en#reports)
    - [Domain parking](https://help.opusdns.com/services-features?hsLang=en#domain-parking)
    - [WHMCS Integration](https://help.opusdns.com/services-features?hsLang=en#whmcs-integration)
    - [Hostware Integration](https://help.opusdns.com/services-features?hsLang=en#hostware-integration)
    - [Terraform Integration](https://help.opusdns.com/services-features?hsLang=en#terraform-integration)
    - [GO Integration](https://help.opusdns.com/services-features?hsLang=en#go-integration)
    - [Certificate Management with ACME and OpusDNS](https://help.opusdns.com/services-features?hsLang=en#certificate-management-with-acme-and-opusdns)
- [New to the Domain Industry?](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#main-content)

    - [Everything about Domains](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#everything-about-domains)
    - [Domain Industry](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#domain-industry)
    - [Reseller Essentials](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#reseller-essentials)

- [OpusDNS Homepage](https://www.opusdns.com/)
- [Legal Notice](https://www.opusdns.com/legal/notice-impressum)
- [Privacy Policy](https://www.opusdns.com/legal/privacy-policy)
- [Terms & Conditions](https://www.opusdns.com/legal/terms-conditions)

[![OpusDNS Homepage](https://help.opusdns.com/hubfs/6722ae7333e645c8919a4751_opusDNS-VT-3c-white-tagline.svg "OpusDNS Homepage")](https://www.opusdns.com/)

©2025 OpusDNS GmbH. All rights reserved.

<https://www.linkedin.com/company/opusdns/>

![icann](https://help.opusdns.com/hubfs/icann.svg).