# How to change nameservers

https://trecloud.com.tr/en/knowledgebase/article/nameserver-nasil-degistirilir

You moved your site to another server, or you want to manage your DNS records with another provider: the way to do that is to change your nameservers. A nameserver tells the internet which servers hold your domain's DNS records. Done in the wrong order, the change can take your website and email down for hours. This article explains how to change nameservers in the TreCloud customer panel and how to check the change.

![Cover image for changing nameservers in the domain panel](https://trecloud.com.tr/resources/uploads/articles/2026-11-24/nameserver-nasil-degistirilir.jpg)

**Contents**

1. [Before you change: note your current records](#once-kayitlar)
2. [Steps in the customer panel](#panelde-adimlar)
3. [When do you need child nameservers (glue)?](#alt-ad-sunuculari)
4. [Propagation time](#yayilma)
5. [How to check the change](#kontrol)
6. [Frequently asked questions](#sss)

## Before you change: note your current records

Once the nameservers change, all DNS records for your domain are read from the new nameservers. If the A, MX, TXT and CNAME records on the old side are missing on the new side, the site stops loading, email stops arriving, and SPF and DKIM checks fail. So list your current records before the change and create the same records on the target side.

Picture an accounting office: its website sits on an agency's server, its email in a separate package. If the agency says "point the nameservers to us" and the MX record is not added on the new side, the office's mail stops at that moment. We describe this scenario in detail in [losing MX during a nameserver change](https://trecloud.com.tr/nameserver-i-musteri-verdi-diye-degistirmek). What each record type does is covered in [DNS records: A, CNAME, MX, TXT](https://trecloud.com.tr/bilgi-bankasi/makale/dns-kayitlari-a-cname-mx-txt). You can list your current records from a terminal like this:

```
dig A alanadiniz.com +short
dig MX alanadiniz.com +short
dig TXT alanadiniz.com +short
```

## Steps in the customer panel

If your domain is registered with TreCloud, you make the change in the customer panel. The screen offers two options: TreCloud's default nameservers or another DNS provider's nameservers.

1. Sign in to the customer panel and open your domain from **Alan Adlarım** (My Domains).
2. Click **Ad Sunucularını Yönet** (Manage Nameservers) or switch to the **Ad Sunucuları** (Nameservers) tab.
3. If you will use hosting, email or DNS at TreCloud, select **Varsayılan Ad Sunucularını Kullan** (Use default nameservers): `ns1.trecloud.com.tr` and `ns2.trecloud.com.tr`.
4. If you will use another DNS provider, select **Özel Ad Sunucuları** (Custom nameservers). Nameserver 1 and 2 are required; 3 and 4 are optional.
5. Finish with **Ad Sunucularını Kaydet** (Save nameservers). To go back, use **Varsayılan Ad Sunucularına Sıfırla** (Reset to default nameservers).

Note one detail: the records you enter on the panel's **DNS** tab apply only while the domain uses our nameservers. If you switch to custom nameservers, you edit your records in that provider's panel; the DNS records in the TreCloud panel have no effect during that time.

## When do you need child nameservers (glue)?

Most domains do not need them. A glue record is needed when the nameserver's name sits inside the domain itself: for example, if you use `ns1.alanadiniz.com` for `alanadiniz.com`. In that case a resolver would have to ask the same domain to learn the nameserver's IP address; the glue record breaks this loop by publishing that IP address at the parent level in advance.

In the panel, under the **Ad Sunucuları** tab, the **Alt Ad Sunucuları** (Child nameservers) section lets you define the nameserver name and IP address with **Alt Ad Sunucusu Ekle** (Add child nameserver). Do this only if you run your own nameservers. The background is explained in our [glue record article](https://trecloud.com.tr/glue-record-nameserver-kendi-alaninda).

## Propagation time

The panel states that changes can take up to 24 hours to propagate worldwide. During this time some users get answers from the old nameservers and some from the new ones. So do not delete the records on the old DNS side right away; keep the same records on both sides for a few days. Scheduling the change for a low-traffic hour also lowers the risk.

## How to check the change

In a Linux or macOS terminal, use `dig` to see which nameservers the domain returns. On Ubuntu, if the commands are missing, install them with `sudo apt install dnsutils whois`.

```
dig NS alanadiniz.com +short
dig NS alanadiniz.com @1.1.1.1 +short
whois alanadiniz.com | grep -i "name server"
```

The first two commands show what DNS answers right now; if different resolvers give different results, propagation is still in progress. The `whois` output shows the record at the registry; if you see the new nameservers there, the change has been recorded (whois output looks different for .tr domains). On Windows you can use `nslookup -type=NS alanadiniz.com`. If you prefer not to use a terminal, the [WHOIS lookup tool](https://trecloud.com.tr/domain-whois) also shows the nameservers on record.

## Frequently asked questions

Will email stop when I change nameservers?Yes, if the new nameservers have no MX record. Add the MX record and TXT records such as SPF and DKIM on the new side before the change.Can I undo the change?Yes. Enter the old values on the Nameservers tab or use Reset to default nameservers. Going back is subject to the same propagation time.What if my domain is registered with another company?The nameserver change is made in the panel of the company where the domain is registered. To use TreCloud services, enter ns1.trecloud.com.tr and ns2.trecloud.com.tr there.Does every domain need a glue record?No. You need one only if the nameserver names are under the same domain, that is, if you run your own nameservers.

## Related pages

- [Domain registration, transfer and DNS management](https://trecloud.com.tr/alan-adi)
- [DNS records: A, CNAME, MX, TXT](https://trecloud.com.tr/bilgi-bankasi/makale/dns-kayitlari-a-cname-mx-txt)
- [WHOIS lookup tool](https://trecloud.com.tr/domain-whois)
- [Glue records: when the nameserver is inside its own domain](https://trecloud.com.tr/glue-record-nameserver-kendi-alaninda)
- [Losing MX during a nameserver change](https://trecloud.com.tr/nameserver-i-musteri-verdi-diye-degistirmek)

Written by TreCloud Team · TRE Teknoloji · Updated: November 24, 2026
