Bài viết này giúp bạn cấu hình DNS Cloudflare theo từng bước, không cần thay đổi nhà đăng ký domain.
Trước khi bắt đầu
Xác định domain và nhà cung cấp đang quản lý DNS trước khi thêm bản ghi DNS Cloudflare.
Thiết lập từng bước
Sao chép đúng tên bản ghi và giá trị DNS Cloudflare; không tạo bản ghi trùng hoặc tự thêm domain lần nữa.
Kiểm tra sau khi công bố
Chờ DNS cập nhật rồi chạy công cụ kiểm tra. Nếu chưa đạt, so sánh từng ký tự và TTL.
Common errors with Cloudflare
Email Routing still owns the MX records
When Cloudflare Email Routing is enabled it adds its own MX, SPF and DKIM records to the root domain and locks them: locked records cannot be edited or deleted from DNS > Records until they are unlocked. Disabling Email Routing removes every routing record it added, including any locked record you edited to point somewhere else. Disable it (or unlock its records) first, then add the MX record for mx.freedomainmail.com and check that no Cloudflare MX record is left.
Expecting the orange cloud on mail records
Cloudflare only proxies A, AAAA and CNAME records; MX and TXT records are always DNS only, so there is no proxy switch to set on them. If you point the MX record at a hostname inside your own zone (for example mail.yourdomain.com) instead of mx.freedomainmail.com, keep that A or CNAME record DNS only (grey cloud): Cloudflare's proxy carries web traffic, and Cloudflare recommends DNS only for records used for email.
Editing a zone that is not authoritative
Records in the Cloudflare dashboard only matter when the domain's nameservers at the registrar are the two Cloudflare nameservers shown for that zone. If the domain still uses the registrar's nameservers, add the records there instead, or finish moving the nameservers first.
How long DNS takes at Cloudflare
Cloudflare's documentation ties how quickly a change reaches visitors to the record's TTL: resolvers that already cached the old MX answer keep it until that TTL runs out. A new record that nobody has looked up yet is usually visible within minutes.
If you have just changed the domain's nameservers to Cloudflare, that switch happens at the registry and usually takes longer than a record change, often several hours. Run an MX lookup from outside Cloudflare before you conclude that something is wrong.
Sources, checked on November 8, 2026:
Common mistakes to avoid
- Lỗi thường gặp: tạo bản ghi trùng, dán cả tên domain vào ô Host hoặc dùng giá trị cũ.
Câu hỏi thường gặp
Khi nào bản ghi DNS có hiệu lực?
Thông thường vài phút đến vài giờ, tùy TTL và nhà cung cấp DNS.