Bản ghi MX

Tells the world which mail servers receive email for a domain.

Bản ghi MX là gì?

An MX (Mail Exchanger) record points to one or more mail servers, each with a numeric preference (lower = higher priority). Sending mail servers query MX for your domain, then deliver SMTP traffic to the lowest-preference host.

Ví dụ mục zone file

example.com.    300    IN    MX    10 mx1.example.com.
example.com.    300    IN    MX    20 mx2.example.com.

Trường hợp sử dụng phổ biến

  • Outsource mail to a provider (Google Workspace, Microsoft 365, FastMail, ProtonMail).
  • Set up failover mail with a secondary mail exchanger.
  • Run an in-house mail server alongside a backup MX.
  • Validate "deliverability" — many anti-spam systems demand a valid MX before accepting mail.

Lỗi phổ biến

MX targets must be A/AAAA records, NEVER CNAMEs (RFC 2181). Avoid pointing MX at an IP — it must be a hostname.

Tra cứu bản ghi DNS →

Loại bản ghi liên quan

MẸO BẢO MẬT

Đang dùng mật khẩu mặc định? Bảo vệ mạng của bạn bằng mã hóa NordVPN.