5 REFUSED
Query refused. The name server refuses to perform the requested operation for policy reasons.
On this page
When You See This Code
The server rejected your query due to access control — for example, a recursive resolver that only serves its own network, or a zone transfer blocked by ACL.
How to Fix
Check the server's allow-query, allow-recursion, or allow-transfer ACLs. If you are not authorized to use this resolver, switch to a public DNS service.
Specification
Cross-Protocol Equivalents
Comparisons
Compare With
Guides
Debugging Scenarios
Specifications
Decision Guides
Glossary
Frequently Asked Questions
What is DNS 5 REFUSED?
Query refused. The name server refuses to perform the requested operation for policy reasons.
When do you see DNS 5 REFUSED?
The server rejected your query due to access control — for example, a recursive resolver that only serves its own network, or a zone transfer blocked by ACL.
How to fix DNS 5 REFUSED?
Check the server's allow-query, allow-recursion, or allow-transfer ACLs. If you are not authorized to use this resolver, switch to a public DNS service.