A record mail?

Cheerag Nundlall

Well-known member
Registered
Joined
Oct 12, 2016
Messages
333
Points
18
Can you tell me what is a 'mail' A-record? and a subdomain named needs a mail record like mail.example.com to send mail correctly?
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
Mail does not have an A record it has an MX record. The MX needs to be able to resolve to the top level i.e mail.example.com

example

A record for mail in domain.com DNS
Then if you want that server to receive mail for the domain in question you set the MX for that domain to mail.example.com
 

mobin

Well-known member
Registered
Joined
Jun 22, 2017
Messages
234
Points
28
A Canonical Name or CNAME record is a type of DNS record that maps an alias name to a true or canonical domain name. CNAME records are typically used to map a subdomain such as www or mail to the domain hosting that subdomain's content.

A mail exchanger record (MX record) is a type of certified and verified resource record in the Domain Name System that specifies a mail server responsible for accepting email messages on behalf of a recipient's domain, and a preference value used to prioritize mail delivery if multiple mail servers are available.

The MX record is setup as an FQDN and not using a direct IP address. So commonly, the MX record is setup as "mail.domain.com" and a CNAME is set us for "main.domain.com" -> "domain.com" . So in this case you need an MX record [ like mail.domain.com ] and a CNAME for the Hostname [ "main.domain.com" -> "domain.com" ] to receive emails fine. If you use external Email servers, then you only need to setup MX record with the external email server hostnames.
 
Older Threads
Replies
5
Views
4,181
Replies
3
Views
2,063
Replies
16
Views
4,645
Replies
1
Views
1,429
Newer Threads
Replies
8
Views
3,406
Replies
4
Views
2,402
Replies
0
Views
1,280

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top