Domain host
How to add MX, TXT and CNAME records in Hostinger
Web host and registrar. DNS is edited in hPanel under DNS / Nameservers.
Which email provider are you setting up?
- Google Workspace Google Workspace on Hostinger
- Microsoft 365 Microsoft 365 on Hostinger
- Zoho Mail Zoho Mail on Hostinger
- Fastmail Fastmail on Hostinger
- Hostinger Email Hostinger Email on Hostinger
- iCloud+ Custom Email Domain iCloud+ Custom Email Domain on Hostinger
- Migadu Migadu on Hostinger
- Namecheap Private Email Namecheap Private Email on Hostinger
- Proton Mail Proton Mail on Hostinger
- Rackspace Email Rackspace Email on Hostinger
- Titan Email Titan Email on Hostinger
Find the DNS editor
- In hPanel, go to Domains and click Manage next to your domain.
- Open DNS / Nameservers on the left.
- Use the Manage DNS records section.
What goes in each field
| Record | Host field | Value field |
|---|---|---|
| MX | Name | Mail server + Priority |
| TXT | Name | TXT value |
| CNAME | Name | Content |
- For your bare domain, MX: enter @ in Name; TXT: enter @ in Name; CNAME: enter @ in Name.
- For other names, type only the part before your domain (for example _dmarc). Hostinger adds your domain automatically.
- Default TTL: 14400 seconds (4 hours).
Adding a record at Hostinger
MX record
- In Manage DNS records, choose MX as the type.
- Enter @ as the Name, your provider's mail server, and the Priority. Keep the default TTL unless your provider asks otherwise.
- Click Add Record.
TXT record
- In Manage DNS records, choose TXT as the type.
- Enter the Name (@ for the root, or only the prefix such as _dmarc) and the TXT value.
- Click Add Record.
CNAME record
- In Manage DNS records, choose CNAME as the type.
- Enter the name (only the prefix) and the content your provider gives you.
- Click Add Record.
Hostinger gotchas
Hostinger DNS: questions
How do I add an MX record in Hostinger?
In hPanel, go to Domains and click Manage next to your domain. Open DNS / Nameservers on the left. Use the Manage DNS records section. In Manage DNS records, choose MX as the type. Enter @ as the Name, your provider's mail server, and the Priority. Keep the default TTL unless your provider asks otherwise. Click Add Record.
How do I add a TXT record in Hostinger?
In hPanel, go to Domains and click Manage next to your domain. Open DNS / Nameservers on the left. Use the Manage DNS records section. In Manage DNS records, choose TXT as the type. Enter the Name (@ for the root, or only the prefix such as _dmarc) and the TXT value. Click Add Record.
What goes in the Name field at Hostinger?
Enter @ for records on your bare domain, such as MX and SPF. For the others, enter only the part before your domain, for example _dmarc. Hostinger adds your domain automatically.
How long do DNS changes take at Hostinger?
Hostinger says DNS changes can take up to 24 hours to fully propagate.