# What if built-in models cannot connect in my region?

> Cube Agent 2.4.1 Release (Build 2004105) User Guide.
> Category: Models & AI. Content baseline: 2026-12-05.
> Web page: https://cubeagent.app/en/docs/builtin_network/

Cube's built-in models and free trial gateway automatically check DNS resolution and connectivity on your current network. When abnormal DNS responses (such as loopback or private IP addresses) are detected, or when a direct connection fails, the app can automatically fall back to **encrypted DNS (DoH)** and retry the original HTTPS domain—there is no need to enter US server IPs manually or enable an extra toggle.

DoH only queries a DNS resolver for the domain address and never sends your API key or conversation content to the DNS service; model requests still go to the original gateway with full HTTPS certificate verification preserved. This mainly resolves DNS anomalies in certain Mainland China regions (such as Hubei) and does not guarantee bypassing TLS/SNI interference, server outages, or all network restrictions. Tencent relay is not enabled in this release. (Your own API key providers—such as OpenAI, Claude, Gemini, OpenRouter, or local Ollama—connect directly via their own configured endpoints and proxy settings.)

Active in-app proxies, system proxies, PAC scripts, or VPNs are respected. Once a streaming reply begins, the app will not switch resolution routes mid-stream; and for timeouts or receive failures where it is uncertain whether the request has already executed, it will not automatically switch routes and resend. **Model routes** on the **About** page can help with troubleshooting; when submitting feedback, simply include your region, network carrier, and error message—never share API keys.
