An A record or address record.
Suppose you have the mydomainname.tld domain and want to assign 10.10.0.1 IP address to your web server, then you should create an A record with “www.mydomainname.tld” as Fully Qualified Domain Name and “10.10.0.1” in the value field.
From now on, all the requests for www.mydomainname.tld will be sent to a server with that IP.
Basically is useful to use an A record when you have subdomains residing on various systems.
Tip: you might use a “*.mydomainname.tld” A record to allow WHATEVER.somedomain.tld to be resolved to your IP, though a wildcard CNAME record is often better than a wildcard A record.
Example of A Record with Syntax
example.com. IN A 18.104.22.168
Where IN indicates Internet
A indicates the Address record.
The above example indicates that the IP Address for the domain example.com is 22.214.171.124
An AAAA record or IPv6 address record maps a hostname to a 128-bit IPv6 address.
The regular DNS Address resource record is defined for a 32-bit IPv4 address, so a new one was created to allow a domain name to be associated with a 128-bit IPv6 address.
The four “A”s (“AAAA”) are a mnemonic to indicate that the IPv6 address is four times the size of the IPv4 address. The AAAA record is structured in very much the same way as the A record in both binary and master file formats; it is just much larger. The DNS resource record Type value for AAAA is 28.
Example of AAAA Record with Syntax
The AAAA record is to help transition and coexistence between IPv4 and IPv6 networks. An IPv4 nameserver can provide IPv6 addresses:
linux aaaa 3ffe:1900:4545:2:02d0:09ff:fef7:6d2c