Wishlist 0 ¥0.00

I cannot add host name @ or leave blank MX record in Amazon lightsail

I get invalid name in host name field when attempting to add @ or leave blank in DNS record section with Amazon Lightsail. I don't know what to do.

Issue :
I get invalid name in host name field when attempting to add @ or leave blank in DNS record section with Amazon Lightsail. I don't know what to do.
 
Solution :
 
We find that the DNS Manager is unable to accept the @ (or) blank in the Host Name. We suggest you to re-try any of the below provided in your DNS Manager Page :
 
Host Name                                Value             Priority
@/(Blank)/Domain Name        mx.zoho.com     10
 
We suggest you to try the above and if still error exists, please write back to us at support (at) zohomail (dot) com.
 
For more information, we are there to lend our hands.
Regards
 
 

Hi,

I have the same problem and I tried all possible combinations but I cant get the blank hostname accepted in Lightsail.

What are the options

Hi, 
 
Thanks for writing back to us.
 
We see that your DNS page is unable to accept the syntax "@" or "blank" in the Host Name field. Please try using your "domain name" in the "host name" field by referring below:
 
   Host Name                Value              Priority
a***fit.com            mx.zoho.com            10
a***fit.com            mx2.zoho.com           20
 
Note: You have created/signed up your account under ".com server". Please update .com's MX records to receive emails in your account.
 
 
For more information, please write back to us at support (at) zohomail (dot) com.
 
Regards,
Easwaran.R | Zoho Mail Support

 

关于MX记录的问题 问题

关于MX记录

解决方案
域名解析主要有4个主要类型:
NS DNS
MX 邮件
A IP地址
CNAME 别名

除了A记录,其他3个类型都是要解析到主机名的。
比如:
...
IN MX 0 mail
IN MX 10 mail.yourdomain.com.
...

我们来看一个邮件服务器在发信的时候,是怎么判断发送到那里的过程。
This email address is being protected from spambots. You need JavaScript enabled to view it.
此时,他会做两次DNS查询。
第一次,先查询yourname.com的mx记录,查出mx记录对应的主机名之后,再查询这个主机名对应的IP。
然后再将邮件发送到IP。
这个过程可以用dig命令模拟。
第一步:
dig +short yehglobal.com mx
结果:
0 mail.yehglobal.com.
10 mail.yehglobal.com.
第二步:
dig +short mail.yehglobal.com
结果:
210.78.128.66

有的服务商,错误地把mx记录直接解析到了IP地址。大部分的邮件服务器可以正常工作,但是会提示错误:Warning: numeric address in MX record!。
有的邮件服务器可能就会把IP地址当作一个主机名,致使邮件发不出去。

我们再来看有关mx记录的其他要注意的地方。
1. 多条mx记录
在刚才的例子中,我们看到,查询mx记录时返回了两条记录:
0 mail.yehglobal.com.
10 mail.yehglobal.com.
其中的0和10代表优先级,数越小,优先级越高。多条mx记录,一般情况下,是说邮件可以按顺序发送到这些主机,有的时候,多条记录可能是相同的(例子中的情况),
这是为了增加冗余和重试次数。
2. 相对主机名和绝对主机名
...
MX IN 0 mail
MX IN 10 mail.otherdomain.com.
...
这个例子中,一个记录是mail,另一条记录是mail.yourdomain.com.,第一条最后没有“.”字符的记录是相对主机名,实际上会被加上这个域名,
变成:mail.yourdomain.com.;第二条记录最后有“.”字符,代表一个绝对主机名,不会被转换。

综上所述,一般情况下,如果要解析一个域名的邮件记录,发送到某个IP,会在域名解析中解两条记录:
IN MX 0 mail
mail IN A 10.0.0.1

*** 如何在Prim@Hosting系统中,设置一个域名的邮件发送到另外一台服务器 ***
在使用Prim@Hosting系统的时候,在创建站点时,可以指定mail解析到哪个IP,在dns mx记录的框里填写另外服务器的IP地址就可以;
也可以使用子域名管理工具,在mail子域的A记录的框内填写另外服务器的IP地址。

*** 如何检验域名解析的正确 ***
使用dig命令。指定DNS服务器:
dig @dns1.yourname.com abc.com mx
dig @dns1.yourname.com mail.abc.com

MX-Records (Mail exchange)

MX-records are used to specify the e-mail server(s) responsible for a domain name.

Each MX-record points to the name of an e-mail server and holds a preference number for that server.

If a domain name is handled by multiple e-mail servers (for backup/redundancy), a separate MX-record is used for each e-mail server, and the preference numbers then determine in which order (lower numbers first) these servers should be used by other e-mail servers.

If a domain name is handled by a single e-mail server, only one MX-record is needed and the preference number does not matter.

When sending an e-mail to "This email address is being protected from spambots. You need JavaScript enabled to view it.", your e-mail server must first look up any MX-records for "example.com" to see which e-mail servers handles incoming e-mail for "example.com".

This could be "mail.example.com" or someone else's mail server like "mail.isp.com".

After this it looks up the A-record for that e-mail server name to connect to its IP-address.

Do not point an MX-record to a CNAME-record. Many e-mail servers don't understand this. Add another A-record instead.

 

This record type is defined in RFC1035.

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.