Shadowrocket DNS Troubleshooting: Latency Is Normal but Websites Won’t Load

Learn what Shadowrocket’s DNS settings do and how to troubleshoot failed lookups when latency tests pass but websites won’t load. Understand DNS overrides and system DNS.

At a glance

A latency reading only confirms that the target used for that test responded; it does not mean the domain for a failing website resolved successfully. This guide is for users who are connected to Shadowrocket but can’t open some or all websites. Use the same full hostname to distinguish a DNS error from a connection timeout, then check the DNS, network, and routing path in the active configuration. Change one setting at a time so you can identify what affects the result.

System DNS vs. DNS Overrides

DNS translates hostnames into addresses. System DNS is the resolver the device uses based on its current network and system settings; the resolver may change when you switch from Wi-Fi to cellular. A DNS override specifies which resolver Shadowrocket uses for relevant queries in its configuration. It does not permanently change the device’s system DNS, and it does not guarantee that encrypted DNS queries made independently by a browser will use the same resolver.

SettingWho handles the queryWhat to check
System DNSSelected by the device based on the current network and system settingsIf the problem occurs on only one Wi-Fi network, check whether it requires sign-in and whether system DNS can resolve the same hostname.
DNS overrideThe active configuration specifies which resolver Shadowrocket uses for relevant queriesIn Config, confirm which file is active. If it contains dns-server under [General], note the current value, then check the address, protocol, and whether the resolver is reachable on the current network.

Check the resolver protocol first, then the port. A correct port does not guarantee the service is reachable; servers can also use non-default ports.

53
Traditional DNS default port (UDP / TCP)
853
DNS over TLS (DoT) default port
443
Common port for DNS over HTTPS (DoH)

If only internal domains fail, first check whether the resolver can resolve them

If public websites load but internal company domains don’t, ask your administrator whether those domains require the company network’s DNS. Don’t switch to a public resolver as your first step.

DNS Failure vs. Nonexistent Domain vs. Connection Timeout

Copy the full hostname from the browser’s address bar and note the error code. A hostname with www and the bare domain are separate lookup targets. If the page redirects, the hostname shown on the error page may differ from the one you entered. These are errors you may see in Chromium-based browsers, not messages from Shadowrocket.

Common browser errors

ERR_NAME_NOT_RESOLVED

Cause: The browser couldn’t resolve the hostname to a usable address. Fix: Check the spelling and subdomain. On the same network, compare system DNS with the active override, then try the same address again.

DNS_PROBE_FINISHED_NXDOMAIN

Cause: The browser’s DNS check determined that the requested name does not exist. This can also happen when the query goes to a resolver that doesn’t know about an internal domain. Fix: Confirm the hostname is valid. For an internal site, try again on the required network with the required resolver.

ERR_CONNECTION_TIMED_OUT

Cause: The connection wasn’t established in time; this error alone doesn’t prove a DNS failure. Fix: If you have evidence that the hostname resolved successfully, check the routing policy, destination port, and whether the current network can reach the destination.

Latency Is Normal but Websites Won’t Load: Test in This Order

The latency reading on Home describes that test, not the browser’s attempt to reach the failing URL. The test may use a different hostname or connection path. A reading in milliseconds does not prove that the failing page’s DNS, routing, and HTTPS connection are all working.

  1. Keep the test target fixed. Leave the current network, browser, and Global Routing setting unchanged. Reproduce the problem with the original full URL, then try a site that normally works as a comparison. If only one subdomain fails, the site’s homepage loading successfully does not prove that the subdomain works.
  2. Compare with the connection switched off. Temporarily turn off the connection toggle on Home and retry on the same network. If both states show a name-resolution error, check the hostname, system resolver, and the browser’s independent DNS settings first. If it fails only while connected, check Shadowrocket’s configuration and routing. If On Demand is enabled, go to Settings → On Demand and review the trigger conditions; make sure the connection isn’t reconnecting automatically during the test.
  3. Then compare networks. Restore the original connection state, switch from Wi-Fi to cellular, and retry the same address. If it fails only on Wi-Fi, confirm that you’ve signed in to the network, then check whether it can reach the resolver specified in the configuration. Switching networks can also change the proxy path, so this comparison narrows down the cause but cannot prove a DNS problem on its own.
  4. Change one DNS setting as a final test. Save the current configuration or note its original value. In Config, confirm which file is active and check its dns-server setting. Temporarily switch the custom resolver back to system DNS and test again. After applying the change, reconnect and revisit the page. Note whether the error changes, then restore the original value. Don’t change the proxy, edit rules, and change DNS at the same time—you won’t know which change affected the result.

After DNS Resolves, Check Global Routing and Rule Matches

Resolving a hostname is only one step. If the browser still times out, check which path the traffic is taking. Go to Home → Global Routing and note the current mode. Only run a temporary comparison if your network policies allow it; changing the mode is not a long-term fix by itself.

These two lines show how to read routing rules: traffic matching example.com and its subdomains goes to PROXY; unmatched traffic goes to DIRECT. This is not a DNS setting or a fix to paste into your active configuration.

DOMAIN-SUFFIX,example.com,PROXY
FINAL,DIRECT

Common Questions When Retesting

I just changed DNS. Why is the error unchanged?

First, go to Config and confirm you edited the active file. Then disconnect, reconnect, and revisit the original URL. Switching configurations may not clear system or browser caches, so reopening the page can still show an old result. Keep the settings unchanged and test again later; don’t cycle through multiple resolvers.

Can I test a domain by entering its IP address in the browser?

Not as an equivalent test. HTTPS certificate checks and website selection may depend on the original hostname. A certificate error after entering an IP address does not prove DNS is broken. Keep the original URL, use the resolved address to assess DNS, and use the browser’s connection error to assess what happens next.

One browser can’t open a website on this device. Should I change Shadowrocket?

Not yet. Check whether both browsers end up visiting the same hostname, then see if the affected browser has its own encrypted DNS setting enabled. It may use a different resolver from the system. Note the difference first, then compare settings in line with your device or organization’s network requirements.

What information should I send to my administrator or service provider?

Note when the problem occurred, the full hostname, network type, the browser’s exact error message, the Global Routing mode, and the results with the connection toggle both on and off. Don’t send subscription URLs containing credentials or your full configuration file. If you need a new subscription link, get it from your service provider.

Shadowrocket Download and Setup Guide

Shadowrocket costs $2.99 as a one-time purchase on the iPhone and iPad App Store; check the App Store listing for system requirements. The Mac (Apple Silicon and Intel), Windows, Android, and Linux versions are free, with installers available from this site’s download page. To verify the App Store listing, check the developer name, Shadow Launch Technology Limited, and app ID 932747118.

Official Shadowrocket Downloads