If latency tests succeed in Shadowrocket’s Home but websites won’t load in your browser, note the browser error and compare the same domain with the connection on and off. This guide explains how to distinguish DNS resolution problems from routing and connection failures, and how to use system as a baseline without mistaking rule or certificate issues for DNS problems.
Why Normal Latency Doesn’t Mean a Website Is Reachable
A latency reading in Home only shows that the test target responded at that moment. It doesn’t confirm that your browser can resolve the site’s domain or that both requests use the same outbound route. Even if the test uses the currently selected proxy, reaching its test target doesn’t mean every website is reachable.
This diagram shows the stages to check when troubleshooting; requests don’t necessarily follow a fixed sequence. Domain rules can match a hostname, while IP rules may require an address lookup first. When traffic is proxied, the destination domain may also be resolved remotely. Even after an address is resolved, the connection can still fail during transport or the TLS handshake.
- Only one domain fails: Check the full hostname in the address bar, especially
www, login subdomains, and any hostname you’re redirected to. If the main site works but its login page doesn’t, test the login page’s domain separately. - Several unrelated domains fail: First check that your network is online, Shadowrocket’s connection status, and the active Config. If you’re on public Wi-Fi and haven’t completed its login, follow the system prompt to sign in, then test again.
- The page shows a certificate warning or HTTP status: Treat it as a connection or website issue first. A
403response alone doesn’t mean your DNS settings are wrong.
Browser Errors and What to Check
These are Chrome error codes, not messages from Shadowrocket. Other browsers may show only a brief description. When troubleshooting, note the exact error, full hostname, and time it occurred—not just that the site wouldn’t load.
ERR_NAME_NOT_RESOLVED
Cause: The browser couldn’t get a valid resolution for the hostname, or the hostname may have been entered incorrectly.
Fix: Check the hostname after any redirect, then compare with the connection on and off on the same network. If the problem occurs only while connected, check the DNS settings in the active Config and the request’s outbound route.
ERR_CONNECTION_TIMED_OUT
Cause: The connection wasn’t established in time. This error alone can’t tell you whether the problem is DNS, the outbound route, or the destination port.
Fix: First open another known-working HTTPS site in the same browser, then check the current routing and outbound route. If you’ve confirmed the correct address was resolved, focus on the connection to the destination.
ERR_CERT_DATE_INVALID
Cause: The certificate’s validity period doesn’t match the device’s time. Common causes include an incorrect device clock or an expired site certificate.
Fix: Check your device’s date, time, and time zone. If they’re correct and the warning persists, stop accessing the site and ask its administrator to check the certificate. Don’t bypass the warning.
Config DNS Settings and Recommended Starting Values
In Config, first confirm which configuration is active, then check its [General] section. Don’t edit an inactive copy from the list or delete existing rules just to test. Note the original values first. If your configuration is managed by an organization, follow the DNS settings provided by its administrator.
| Setting or value | Meaning | How to troubleshoot |
|---|---|---|
dns-server | Specifies the DNS servers used by the configuration. | On a regular network, if you suspect a custom DNS server is causing the problem, temporarily try system for comparison. It uses the system’s current DNS settings; it isn’t a fixed server address. |
fallback-dns-server | Specifies DNS servers to use as fallbacks. | Keep the original value and change only dns-server. A fallback won’t change the outbound route to fix a website connection timeout, and you shouldn’t assume every empty response triggers a query to another server. |
| Regular DNS and DoH | Regular DNS typically uses port 53. DoH runs over HTTPS and uses port 443 unless another port is specified. | If the original setting uses DoH, check the server’s complete URL and path before restoring it. Being able to open regular HTTPS websites doesn’t mean the DoH endpoint is reachable. |
Bottom line: Test with system first, then decide whether to keep custom DNS
On the same network with the same routing settings, if switching to system restores access and switching back reproduces the failure, check the original DNS address, DoH path, and endpoint reachability. If both settings behave the same, stop cycling through servers and check the rule and outbound route handling the request.
Reproduce the Problem and Narrow It Down
- Keep test conditions consistent. Use the same device, browser, and full URL. Stay on the current Wi-Fi or Cellular network; don’t change networks, servers, and configuration at the same time. Use another known-working HTTPS site as a comparison.
- Compare with the connection on and off. Only if it’s safe to disconnect the proxy and you’re not accessing a sensitive page, temporarily turn off the connection in Home, retry the same public URL, then reconnect and try again. If the same resolution error persists while disconnected, check system DNS, network sign-in, or the site’s domain first. If it fails only while connected, check the active Config. If the connection comes back immediately after disconnecting, check whether
On Demandis enabled in Settings Reference; don’t draw conclusions without confirming that the connection was actually disconnected. - Check Global Routing. In Home, check
Global Routing. If it’s set toConfig, follow the routing rules guide to verify the active rules. Check whether the full hostname matches an earlier rule such asDOMAIN-SUFFIX, then check whether unmatched requests fall through toFINAL. A latency reading for an outbound route doesn’t show that the webpage uses the same route. - Change one DNS setting at a time. Note the original
dns-servervalue, compare it withsystem, and confirm the change applies to the active configuration. Test with the original address, then switch back to the original value to see if the problem returns. Browser or system DNS caches may retain old results briefly; if results vary, wait for the cache to expire before testing again. - Change networks as a final check. If the problem occurs only on one Wi-Fi network, keep the current settings and repeat the same test on another known-working network or Cellular. If only an office intranet domain fails, confirm the device is still connected to a network that can resolve it. Don’t send internal hostnames to an untrusted public resolver.
Check A and AAAA Lookup Results on Mac
If you have access to a Mac, use dig on the same network to help troubleshoot. The examples below use a public domain; when testing, replace it with the affected hostname only—don’t include the protocol, path, or query parameters.
dig example.com A
dig example.com AAAA
A looks up an IPv4 address; AAAA looks up an IPv6 address. NXDOMAIN means the response says the name doesn’t exist. NOERROR with no requested record may simply mean the site hasn’t published that address type. SERVFAIL means the resolver couldn’t complete the query; it doesn’t mean the domain doesn’t exist. Note that a Mac’s dig query may not use the same resolver as your browser, the system’s domain-based resolver selection, or a proxy on another device. Use it for comparison only; it doesn’t replace testing on the affected device.
Frequently Asked Questions
Latency looks normal, but only the login page won’t load. Which address should I check?
Check the address shown after the browser redirects, and note only its hostname. A working main page confirms that the main site is reachable, but the login page may use a different domain and match different rules. Record the result for each hostname, then check the active Config.
Why does one browser still fail after I switch DNS to system?
Try the same full URL in another browser. If only the original browser fails, check its own secure DNS settings and whether the problem always occurs on the same redirected domain. DNS queries made directly by a browser may use a different server from system DNS. Note the original settings before comparing, then restore them afterward.
Can I verify DNS by entering the website’s IP address directly?
That test alone isn’t conclusive. Multiple HTTPS sites can share an IP address, and visiting an IP directly may return a default site or a certificate error. Check whether the original domain resolves to an address, then whether the browser can make an HTTPS request using the original domain.
The lookup returned an address, but the request still times out. Should I change DNS?
First confirm that the successful lookup and the failed request use the same hostname, then check the request’s rule and outbound route. If timeouts happen repeatedly on only one network, keep the settings unchanged and compare on another network. If the destination address is correct, focus on the connection to the site rather than changing DNS servers again.
Download Shadowrocket and Get Started
Get Shadowrocket for iPhone and iPad from the App Store for a one-time purchase of $2.99; check the App Store listing for system requirements. The Mac (Apple silicon and Intel), Windows, Android, and Linux versions are free to download from this site.