# NS 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.
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.
#### 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
**Fields name****Description**
Namethis field contains the domain or subdomain name.
TTLthis field contains record lifetime in seconds. This is the time until the entry is stored in the resolver.
Addresscontains the nameserver name.
#### 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**.