Skip to content
hostup.se

Glue records: your own nameservers under your domain

Checked against the client area 29 October 2026

If your domain should use nameservers that sit under the domain itself, for example ns1.example.se, the domain registry needs to know their IP addresses. Otherwise the nameservers cannot be found. These addresses are called glue records. How you add them depends on the domain ending.

Open your domains in the client area

Create the glue records first, then switch nameservers.

  1. Click Domains in the menu and then the domain.
  2. Go to the Nameservers tab and click Glue Records (Advanced) at the bottom.
  3. Click Create New Glue Record.
The opened Glue Records (Advanced) section on the Nameservers tab. The heading and the Create New Glue Record button at the bottom are framed
  1. Under Hostname, type only the part before the domain name, for example ns1. The domain name is added for you.
  2. Type the nameserver’s IP address in the first address field. Only public IP addresses are accepted. If it has both IPv4 and IPv6, click + Add IP and type the next address.
  3. Click Create Glue Record.
The Create New Glue Record dialog with the Hostname and IP Addresses fields. The Create Glue Record button is framed
  1. Do the same for the next nameserver, for example ns2.
  2. Then switch the domain to your own nameservers as described in Change the nameservers for your domain.

The glue record shows in the list with its IP addresses. The Create New Glue Record button shows how many glue records the domain has and how many the registry allows.

For .com and .eu, for example, the client area asks for the IP address while you change the nameservers.

  1. Go to the Nameservers tab and click Edit Nameservers.
  2. Choose Use Custom Nameservers and type the nameserver, for example ns1.example.com.
  3. If the nameserver sits under the domain, fields for its address appear. Type the address under IPv4 address. IPv6 address is optional.
  4. Click Save Changes.

This applies to .se and .nu, under Glue Records (Advanced).

  • Change: click the pencil next to the glue record (Edit glue record). Change the IP addresses and click Update Glue Record. The hostname cannot be changed.
  • Delete: click the bin (Delete glue record) and confirm with Delete Glue Record. This cannot be undone. Other domains that use the nameserver can then no longer find its IP address.

If the domain itself uses the nameserver right now, the registry does not allow the glue record to be deleted. Switch nameservers first, then delete the glue record.

  • A glue record is only needed when the nameserver sits under the same domain. If example.se uses nameservers under another domain, you don’t add a glue record here.
  • A nameserver can have up to ten IP addresses.
  • The registry publishes nameserver changes for .se and .nu every hour. Expect them to take 1–2 hours.