Capture dns-errors-001.pcap 13.86 Kbytes · 2019-02-25 · 10 minutes

Refused

critical

Possible Reasons

  • Access Control Restrictions (IP Blocking or ACLs).
  • Recursion is Disabled on the DNS Server.
  • DNSSEC or Security Policy Enforcement.
  • Rate Limiting or Load Management.
  • Blocked or Blacklisted Domains.

In the Domain Name System (DNS), an RCODE (Response Code) is a field in a DNS response message that indicates the status of a query. An RCODE of 5 ("Refused") means that the DNS server refused to process the request due to administrative policies or security settings.

This response is commonly seen when a DNS server is configured to reject certain queries for security, access control, or load-balancing reasons.

Sessions
4
Hosts
3
Application
1
Protocol
1
Return CodeDescriptionMessage IDQueryOccurrencesSession
Refused (5)Query Refused
[RFC1035]
0xb1dcslc.ns1.ff.avast.com
A (a host address)
1 10.101.8.1 194.2.0.50 (domain)
Refused (5)Query Refused
[RFC1035]
0xb1dcslc.ns1.ff.avast.com
A (a host address)
1 10.101.8.1 194.2.0.20 (domain)
Refused (5)Query Refused
[RFC1035]
0x119euib.ff.avast.com
A (a host address)
1 10.101.8.1 194.2.0.50 (domain)
Refused (5)Query Refused
[RFC1035]
0x119euib.ff.avast.com
A (a host address)
1 10.101.8.1 194.2.0.20 (domain)
Comparison with other tests

Loading...

Loading...

Troubleshoot "Refused"

For a more customized troubleshooting experience, go pro.

Access Control Restrictions (IP Blocking or ACLs).

The DNS server is configured to accept queries only from specific IP addresses or networks. Requests from unauthorized clients are refused. The server rejects queries from blocked or unknown IPs.
For example, a private DNS server configured to accept queries only from internal clients refuses requests from external users.

Ensure the DNS allowlist (ACL) includes the querying IP address.

Recursion is Disabled on the DNS Server.

A DNS resolver is configured to disable recursion, meaning it will not perform recursive lookups for clients. Queries for external domains fail with RCODE 5.
For example, a non-recursive DNS server refuses queries from public clients.

Enable recursion if necessary or use an external recursive resolver.

DNSSEC or Security Policy Enforcement.

Some DNS servers require DNSSEC validation and refuse unsigned queries or invalid DNSSEC responses. The query fails with RCODE 5 if it does not meet security policies.
For example, a DNSSEC-enabled resolver refuses responses that fail validation.

Ensure DNSSEC is correctly configured on the client and server.

Rate Limiting or Load Management.

Some DNS servers implement rate limiting to prevent abuse or DoS attacks. If too many queries come from the same IP in a short time, requests may be refused. Clients sending high-frequency queries may receive RCODE 5 responses.
For example, a DNS service limits queries per second and starts refusing requests from an overloaded client.

Reduce query frequency or switch to a less restrictive DNS server.

Blocked or Blacklisted Domains.

Some DNS providers block specific domains based on security, content filtering, or corporate policies. The DNS server refuses to resolve certain domain names.
For example, a corporate DNS server blocks social media websites or malicious domains.

Use an alternative DNS resolver :