# AAAA record #### 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.

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.

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
**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.
IPv6 Addresscontains the colon-separated IPv6 address (`2a00:c760:80:d07:2011:ffff:b921:3440`).
Adding AAAA 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 **AAAA** from the next drop-down list. - enter the IPv6 address in the last field. 6. Then click **Save Changes**.