What is an A record in DNS?
DNS records are used to control the location of a resource on the Internet. As an example, An A Record is used to point a logical domain name, such as "google.com", to the IP address of Google's hosting server, "188.8.131.52".
- Zone File: This is where all the DNS records are stored for a domain.
- Host Record: This is the domain or subdomain you wish to use. The @ symbol is used to indicate the root domain itself. In our example the Host Record 'ftp' would be for the subdomain ftp.google.com and '@' would be google.com itself.
- Points to: This is the destination server that the domain or subdomain is sending the traffic to.
- TTL: The 'time to live' value indicates the amount of time the record is cached by a DNS Server, such as your Internet service provider. The default (and lowest accepted) value is 14400 seconds (4 hours). You do not normally need to modify this value.
- Action: This allows you to modify or remove existing records.
- Weight: This is similar to priority, as it controls the order in which multiple records are used. Records are grouped with other records that have the same Priority value. As with MX Entries, lower numbers are used before higher numbers.
- Port: This is used by the server or computer to process traffic to specific services, ensuring that all traffic comes through the door that it's expected on.
- Target: This is the destination that the record is sending the traffic to. This record would send traffic from service.example.com to listerning.otherexample.com over port 5060. SRV records generally require advanced knowledge of server administration to use.