> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/connectivity/domains-and-dns/how-tos/create-glue-records.md).

# Create glue records

Glue records are needed if you like to run your own DNS servers using the same domain name for the DNS servers as for the domain name.

***

If you want to run your own DNS servers with names matching the domain name, such as *ns1.example.se* and *ns2.example.se,* under the domain *example.se*, you need to create something called *glue records*. Glue records allow other DNS servers to look up the IP addresses of your nameservers. This is necessary because other nameservers on the internet need a way to find your domain's DNS servers before they can locate the domain's records within those servers. Glue records make this possible.

**Note that glue records only need to be created under these specific conditions, which is why the function is hidden by default. Furthermore, glue records can only be created for the top-level domains .SE and .NU.**

To create a glue record, click **Change nameservers** in the domain's overview.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2FiigBOF96rmBIlPDqLbUe%2Fdns-change-nameserver-glue.png?alt=media&amp;token=55eb30d2-fe8d-44f2-b6be-f4249cf88b5e" alt=""><figcaption></figcaption></figure>

When you enter a nameserver that shares the same domain part as the domain name, a new field for IP addresses will appear. Enter one or more IP addresses for the nameserver in this field. Once you’re done, click **Change nameservers**.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2Fv8aK4tQt8DqN1crKTp4K%2Fdns-glue-record.png?alt=media&amp;token=c6fb6651-ff33-409b-aad3-d933bc60a2d1" alt=""><figcaption></figcaption></figure>
