

What are DNS records?
source link: https://www.hostens.com/blog/what-are-dns-records/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.


The Domain Name System (DNS) works as a database that links a domain name to the server’s IP address. It provides a way for a computer to accept a name understandable to humans (such as www.hostens.com) and convert it into an IP address. Using DNS records, we can link websites and other services to the necessary server.
Finally, once we enter a website name in the browser, the DNS server will take the hostname (server name) and convert it into a numeric IP address, which the web browser can connect to upload the website files.
Below we will take a look at the most popular DNS records and their purposes.
A RECORD:
An address record is used to point a domain or subdomain name to the server’s IP address. We use it to connect a website to the server where its files are. For example, the subdomain, e.g., www.mywebsite.com, needs to have A record of being pointed to the server.
MX RECORD:
A mail exchanger record that specifies where the domain or subdomain mail service is pointed. In other words, to indicate a domain or subdomain to the particular server where domain mailboxes are created.
CNAME RECORD:
A canonical name is used to point a domain or subdomain to another domain or subdomain. It allows us to relate different domains or subdomains to the final destination and adjust only one A record each time you make a change, regardless of how many host records need to be related to that IP address.
For example, if we point www.mywebsite.com to mywebsite.com using CNAME record, it lets us open the website with or without the www subdomain. And when we change the A record of mysebsite.com, the CNAME record will remain functional.
TXT RECORD:
A text record, and we use it for several purposes such as Google, Microsoft, and other systems verification and some specific records intended to increase emails reputation:
-
Sender Policy Framework (SPF) – shows what servers can send emails using a specific domain name. Ensures mail delivery and prevents a domain from spoofing. Makes sure that messages are not marked as spam and delivered correctly.
-
DomainKeys Identified Mail (DKIM) – a domain authentication method that allows a sender to ensure that no one uses its domain for deceptive activity. Before sending an email outgoing server creates and automatically ads a digital signature to the email header. A recipient server can verify this signature by looking up the sender’s public key published in the DNS and accept the email with a valid signature.
-
Domain-based Message Authentication, Reporting, and Conformance) (DMARC) – helps Internet Service Providers (ISPs) to prevent malicious email practices. This record allows senders to specify how to manage emails that do not pass SPF and DKIM authentication.
SRV RECORD:
A service record that points one domain to another using a specific port. Particular services such as VOIP (Voice Over IP) or IM (Instant Message) uses this record.
AAAA RECORD:
A record is similar to A. However, it allows pointing a domain or subdomain to an IPv6 IP address while A record uses an IPv4 IP address.
ADDITIONAL DNS RELATED INFORMATION:
-
DNS records can be managed only in the domain name’s servers system;
-
All DNS records need time for propagation. This depends on TTL (time to live) time, but usually, it takes up to 1-2 hours;
-
We can set up different A and MX records for the same domain or subdomain. It means that a website and mailboxes can function from other servers;
-
Usually, a domain or subdomain has only one A record. However, some specific systems can require setting up more than one A record for a domain or subdomain;
-
The domain can have more than one MX record that uses different priorities. The lower the priority number is, the bigger an MX record priority is;
-
CNAME cannot be pointed to the IP address, only to a domain or subdomain;
-
As an A record destination, only an IPv4 IP address can be used (e.g., 127.0.0.1);
-
As an AAAA record destination, only an IPv6 IP address can be used (e.g. 0:0:0:0:0:0:0:0).
Hostens provides a DNS Manager tool for all its customers that have domains with us or want to use our nameservers. This tool helps to manage domain records easily via the Hostens dashboard.
Related articles
Recommend
-
8
(All) DNS Resource Records July 15th, 2021 Ok, the Domain Name System (DNS) is wild. We all know that. Nothing works without it, and when things go really funky and make no sense, chances are it's the DNS. W...
-
9
How do I add custom DNS records? (legacy) The following describes how to make changes using the legacy Manage Domains page in the panel. DreamHost recommends instead using the
-
7
What DreamHost DNS records do I point my site to? You will need to contact the non-DreamHost DNS provider for specific instructions on setting those records up with them. Ove...
-
15
Editing or deleting custom DNS records (legacy) The following describes how to make changes using the legacy Manage Domains page in the panel. DreamHost recommends instead using the
-
9
Viewing your DNS records in the panel The following describes how to make changes using the legacy Manage Domains page in the panel. DreamHost recommends instead using the
-
9
Non-editable DNS records Overview You’ll notice that there are numerous non-editable DNS records on your domain’s
-
10
Locating your DreamHost email DNS records Overview If your domain is not using DreamHost's nam...
-
6
Update DNS Records in an Azure DevOps Pipeline 1 day ago2021-10-11T00:00:00+02:00 by Wolfgang Ofner Infrastructure as Code (IaC) is a great process to manage the creation of your infrastructure.
-
2
Viewing your DreamHost DNS records Viewing your DNS records in the panel You can review all of the DNS records that are set up for any site you host at DreamHost. To view yo...
-
6
If you find yourself in a situation that requires changes to your site, and your developer isn't available to help, DreamHost's skilled support team may be able to assist you for a small fee. You can find more information about supporte...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK