Postfix: status=deferred (Host or domain name not found. Name service error for name=example.com type=A: Host not found, try again)
Postfix could not resolve the destination domain through DNS — the resolver is down or unreachable, or the domain does not exist.
Host or domain name not found. Name service error for name= type=Name service error for name=example.com type=MX: Host not found, try againstatus=deferred (Host or domain name not foundHost not found, try again postfixTemporary lookup failure Meaning
"try again" means a temporary DNS failure (SERVFAIL, timeout); the message stays queued. Check /etc/resolv.conf and whether the server can reach its resolver. In chroot setups Postfix uses its own copy of resolv.conf under /var/spool/postfix/etc. Also confirm the recipient domain exists.
Common causes
- Resolver unreachable or misconfigured in /etc/resolv.conf
- Postfix chroot using a stale resolv.conf copy
- Firewall blocking UDP/TCP 53
- Recipient domain typo or expired
- DNSSEC or upstream resolver errors
⚡ Quick fix
- Test resolution from the server:
dig MX example.com - Update
/etc/resolv.conf, thenpostfix stop && postfix start(copies into chroot) - Verify the domain spelling
Detailed fix by platform
Linux
dig +short MX example.com; after fixing resolv.conf:cp /etc/resolv.conf /var/spool/postfix/etc/resolv.conf && postfix reload
How to diagnose
- DNS — dig works on the server?
- Chroot — Postfix copy updated?
- Domain — Exists?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- 550 5.7.25 PTR record required SMTP: 550-5.7.25 The IP address sending this message does not have a PTR record setup, or the corresponding forward DNS entry does not point to the sending IP
- DKIM: no key for signature DKIM: dkim=permerror (no key for signature) / key not found in DNS selector._domainkey
- DMARC: no record found DMARC: dmarc=none (no DMARC record found for example.com) — bulk sender requirements not met
Most viewed in Email / SMTP
Other ways to find it
Where this error sits
Origin: Network. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 4 Nov 2026