# What Is an NS (Name Server) Record

#### WHAT IS THE AAAA RECORD?

The NS record is the shortened equivalent of NameServer. This record is used to provide a domain name server.

<div class="vc_row wpb_row vc_row-fluid" id="bkmrk-use-this-record-to-d"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="wpb_text_column wpb_content_element "><div class="wpb_wrapper">  
</div></div><div class="vc_message_box vc_message_box-standard vc_message_box-rounded vc_color-info vc_custom_1597746873920"><div class="vc_message_box-icon">  
</div><div class="ricsi info">Use this record to determine which server name is a domain name or a name server of a subdomain name. It is recommended that you enter two nameservers so that the domain name zone can be accessed if, for any reason, one of the two name servers is unavailable.</div></div></div></div></div></div>#### GLUE RECORD

It is common that one of the name servers in the delegated zone is in the zone itself. The ns1.dotroll.com record is in the dotroll.com zone, but there is a need to go up one level in the .com zone, otherwise we will be trapped. That’s why we need to pick up a record-breaking record. Such a foreign A record is called a glue record.

#### QUERYING NS RECORD

For example, you can use the nslookup command in Windows to access record NS, while under Linux the host command.

Example of a Windows-based nslookup query:

```
nslookup -q=NS dotroll.com
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
dotroll.com     nameserver = ns1.dotroll.com
dotroll.com     nameserver = ns2.dotroll.com
```

Example of Linux based host query:

```
host -t NS dotroll.com
dotroll.com name server ns2.dotroll.com.
dotroll.com name server ns1.dotroll.com.
```

#### NS RECORD FORMAT

<table id="bkmrk-fields-name-descript"><tbody><tr><td>**Fields name**</td><td>**Description**</td></tr><tr><td>Name</td><td>this field contains the domain or subdomain name.</td></tr><tr><td>TTL</td><td>this field contains record lifetime in seconds. This is the time until the entry is stored in the resolver.</td></tr><tr><td>Address</td><td>contains the nameserver name.</td></tr></tbody></table>

#### ADDING NS RECORD

1. Sign in with [https://admin.dotroll.com](https://admin.dotroll.com/?swcfpc=1) with your username and password
2. In the top menu bar, click the **Domains** / **My Domains** menu.
3. Select the domain name for which you want to make the change and then click on it.
4. In the **Manage** box on the left, select **Manage DNS**.
5. At the bottom of the page, click **Add**. 
    - In the first field, you can enter a subdomain name, or leave blank
    - the TTL value can be selected in the second field, but typically the default is 1 hour
    - select **NS** from the next drop-down list.
    - enter the names server name in the last field.
6. Then click **Save Changes**.