> 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/use-glesys-dns-with-an-existing-domain.md).

# Use Glesys DNS with an existing domain

***

## Add an existing domain to Glesys DNS using the control panel

To add an existing domain to Glesys DNS, click on **DNS** under **Domains** in the left-hand menu. Then, click **Add Domain**.

<figure><img src="/files/HvG8uoEAacdH7GU5kM3f" alt=""><figcaption></figcaption></figure>

In the next dialog box, choose whether you want to add the domain to Glesys DNS while keeping the domain name with your current registrar or transfer the domain name to Glesys, making Glesys the registrar for the domain.

In this example, we choose only to add the domain to Glesys DNS, keeping the domain name with the existing registrar. Therefore, select **Add Domain**, enter the domain name you want to add, and click **Confirm**.

You can also let Glesys create some default records for you. If the option **Add Default DNS Records** is checked, the following records will be created:

* Three A records for example (@, www, and mail)
* Two MX records for Glesys email
* Three NS records for GleSYS DNS
* One TXT record for SPF for GleSYS email
* A complete SOA record with primary DNS, the responsible person, and all timeout and renewal values.

To make things easier, leave the **Add Default DNS Records** box checked.

<figure><img src="/files/WzhHaB6cFMyW1dtuEY2U" alt=""><figcaption></figcaption></figure>

After clicking **Confirm**, you are presented with an overview of the domain. Refer to [Manage DNS records](/products/connectivity/domains-and-dns/how-tos/manage-dns-records.md) for more information on how to manage records and what the different types of records represent.

### Update the DNS records with the registrar <a href="#update-the-dns-records-with-the-registrar" id="update-the-dns-records-with-the-registrar"></a>

When using Glesys DNS for existing domains with another registrar, you must point the domain to the Glesys DNS servers. This is done through the registrar where you purchased or registered the domain name.

The name servers to specify at the registrar are:

* ns1.namesystem.se
* ns2.namesystem.se
* ns3.namesystem.se

Please note that it may take up to 24 hours for DNS changes to propagate across the internet.

## Add an existing domain to Glesys DNS using the API

Use the [domain/add](https://github.com/GleSYS/API-docs/wiki/API-Documentation#domainadd) endpoint to add a domain to Glesys DNS using the [API](/platform/control-panel/api.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.glesys.com/products/connectivity/domains-and-dns/how-tos/use-glesys-dns-with-an-existing-domain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
