DNS Error Code REFUSED
The DNS server refused to answer the query.
The DNS server refused to answer the query.
| Code | REFUSED |
| Product | DNS |
| Company / origin | IANA / IETF · International standard |
| Category | Protocols & Standards |
| Platform / versions | Recursive and authoritative DNS servers · RFC 1035 and later |
| Severity | warning |
| Official source | IANA DNS Parameters ↗ |
| Last verified | 2026-11-08 |
What does DNS error REFUSED mean?
REFUSED means the DNS server received the query but policy does not allow it to answer. It is common on resolvers that only serve specific networks, or when recursion is disabled.
Common causes
- The resolver's access control list does not include the client.
- Recursion is disabled and the query requires it.
- A firewall or policy is blocking the query type or source.
How to fix it
- Step 1
Use a resolver that is allowed to answer queries from your network.
- Step 2
Check the resolver's ACL and recursion settings.
- Step 3
If you operate the resolver, allow the client network or enable recursion only where appropriate.
When to escalate
Related codes
| Code | Name | What it means |
|---|---|---|
BADVERS | BADVERS | The server does not support the EDNS version used in the query. |
FORMERR | FORMERR | The DNS server could not interpret the query. |
NODATA | NODATA | The name exists, but it has no record of the requested type. |
NOTAUTH | Not Authoritative | The DNS server is not authoritative for the zone in the query. |
NOTIMP | NOTIMP | The DNS server does not implement the requested operation. |
Source & verification
This page was checked against IANA DNS Parameters on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.
Open Error Codes is independent and not affiliated with IANA / IETF. Always confirm destructive or security-sensitive steps with the official documentation.