DNS Record Types
The most common DNS record types are:
- A (Host address) – A record is used to resolve Name (www.future4tech.com) to IP Address (188.8.131.52). It creates in Forward lookup zone. A record called as host record also.
- AAAA (IPv6 host address) – It works the same way as the A record but it uses in IPv6 Address.
- CNAME (Canonical name for an alias) – Canonical Name/Alias record is used to specify that a domain name is an alias for another domain such as hostname test.future4tech.com alias name www.future4tech.com.
- MX (Mail Exchange) – Mx stand for Mail Exchanger record. This record used in the mail server and responsible for accepting email messages on behalf of the recipient’s domain.
- NS (Name Server) – A name server keeps information for the translation of domain names to IP addresses and IP addresses to domain names. The name server is a program that performs the translation at the request of a resolver or another name server.
The nameservers you designate at your registrar then carry the zone file for your domain. The most important function of the NS Record is Delegation. Delegation implies that part of a domain is delegated to other DNS servers.
- PTR (Pointer) – PTR stands for Pointer record. It is used to resolve IP Address to name like www. future4tech.com to 6 184.108.40.206 It creates in Reverse lookup zone.
- SOA (Start Of Authority) – SOA stands for Start of Authority record. Its record is information of DNS zone about that zone and about other zones. Each zone contains a single SOA record.
SOA records contain a TTL value, used by default in all resource records in the zone. SOA records contain the e-mail address of the person who is responsible for maintaining the zone. SOA records contain the current serial number of the zone, which is used in zone transfers.
- SRV (Location of service) – SRV stands for Service locator record. It contains all service information of DNS Server like port, target, priority and so on. Generally, the SRV record contains below information.
Address – Location of the SRV record, including the resource type (_sip) and protocol (_tcp) – This information is often given by the provider of the service the SRV is being set up for.
TTL – Expiration value of the record.
Internet-type – Standard BIND notation indicating that the record is on the internet record type – Standard BIND notation indicating that it’s an SRV record.
Priority – Much like an MX record, one is able to set the priority of more than 1 record at the address.
Weight – There is provision for a rudimentary load balancing schema. All values across all records at the address must add up to 100. The higher the weight, the more often the specific record will be served and vice versa.
Port – TCP or UDP port where the specified service can be found.
Target Endpoint – the canonical hostname of the machine providing the service.
- TXT (Descriptive Text) – The text record can hold arbitrary non-formatted text string. Typically, the record is used by Sender Policy Framework (SPF) and DKIM records to prevent fake emails to appear to be sent by you.