# What Is an AAAA Record in DNS (IPv6 Explained)

#### WHAT IS THE AAAA RECORD?

The AAAA record (also known as four-A records) determines the host’s IPv6 address. It works the same way as A record, the difference is the IP address type. Using AAAA records, IPv6 addresses for domain names can be used to identify computers. When you visit a webpage that can be tapped with an IPv6 record, you can use the client name resolution to find the IPv6 address for that domain name. Subsequently, the client sends the request to the IPv6 address specified in the AAAA record.

<p class="callout info">For example, you need to enter `dotroll.com` in the browser to access the DotRoll website. During the name resolution, the server for `dotroll.com` sends the record back to the name server, which in this case will be `2a00:c760:80:d07:2011:ffff:b921:3440`, and the browser will forward the commands for retrieving the contents of the web page to the `2a00:c760:80:d07:2011:ffff:b921:3440` IPv6 address.</p>

Records are the simplest DNS records and one of the primary records used in DNS servers.

In fact, more records can be given for a domain name, thus ensuring redundancy. Of course, several domain names may show the same IPv6 address.

#### QUERYING AAAA RECORD

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

Example of a Windows-based nslookup query:

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

Non-authoritative answer:
Name:    dotroll.com
Address:  2a00:c760:80:d07:2011:ffff:b921:3440
```

Example of Linux based host query:

```
host -t AAAA dotroll.com
dotroll.com has IPv6 address 2a00:c760:80:d07:2011:ffff:b921:3440
```

#### AAAA RECORD FORMAT

<div class="vc_row wpb_row vc_row-fluid" id="bkmrk-fields-name-descript"><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"><table><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>IPv6 Address</td><td>contains the colon-separated IPv6 address (`2a00:c760:80:d07:2011:ffff:b921:3440`).</td></tr></tbody></table>

</div></div></div></div></div></div>Adding AAAA record

<div class="vc_row wpb_row vc_row-fluid" id="bkmrk-sign-in-with%C2%A0https%3A%2F"><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">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 **AAAA** from the next drop-down list.
    - enter the IPv6 address in the last field.
6. Then click **Save Changes**.

</div></div></div></div></div></div>