Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/SpaceNeuroX/proxy-turn-vk-android/llms.txt

Use this file to discover all available pages before exploring further.

The Go client inside qWDTT uses a custom DNS resolver for all VK API requests — including login.vk.ru, api.vk.ru, api.vk.me, and calls.okcdn.ru. You can choose from several built-in presets or supply your own servers or DoH endpoint.

Why a Custom DNS?

On some networks — particularly mobile carrier networks in Russia — the system DNS may not resolve VK domains correctly, may return incorrect answers, or may be intercepted and redirected. A reliable, independent resolver ensures the Go client can reach VK’s API regardless of what the carrier DNS does. This setting affects only the Go client’s outbound API requests, not Android’s system resolver or WireGuard traffic.

Available Presets

Configure DNS in Settings → DNS (Go), or pass -go-dns <preset> when running the Go client directly.
PresetServers / Endpoint
yandex (default)77.88.8.8, 77.88.8.1
cloudflare1.1.1.1, 1.0.0.1
google8.8.8.8, 8.8.4.4
doh-yandexhttps://77.88.8.8/dns-query, https://common.dot.dns.yandex.net/dns-query
doh-cloudflarehttps://1.1.1.1/dns-query, https://cloudflare-dns.com/dns-query
doh-googlehttps://8.8.8.8/dns-query, https://dns.google/dns-query
customEnter comma-separated IPv4 addresses manually
doh-customEnter a full https:// DoH URL manually

Custom UDP/TCP DNS

Select custom in Settings and enter one or more IPv4 addresses separated by commas. For example:
192.168.1.1, 9.9.9.9
Each address is used on UDP port 53 first. If the UDP connection fails, the Go client retries on TCP port 53. Addresses are tried in order until one succeeds. When passed via the CLI flag, use the custom: prefix:
-go-dns custom:192.168.1.1,9.9.9.9

Custom DoH (DNS-over-HTTPS)

Select doh-custom in Settings and enter a full HTTPS URL pointing to a standard DoH endpoint. The URL must start with https://. For example:
https://dns.example.com/dns-query
If the URL has no path (or only /), the path /dns-query is appended automatically. Query parameters and fragments are stripped. When passed via the CLI flag, use the doh: prefix:
-go-dns doh:https://dns.example.com/dns-query
DNS-over-HTTPS queries are sent as standard application/dns-message POST requests over HTTP/2. The DoH client uses the system resolver (not the configured DoH resolver itself) to bootstrap the initial connection to the DoH server, avoiding recursive resolution.

Fallback Behaviour

For standard UDP/TCP presets, setupGlobalResolver replaces net.DefaultResolver with a custom dialer. The dialer iterates over the configured servers in order. If all configured servers fail to connect, and if the default system address passed by Go’s resolver is not a loopback address, the system resolver is tried as a last resort. This prevents a total resolution failure on misconfigured setups. For DoH presets, no UDP fallback is available — if all configured DoH endpoints fail, the DNS request fails.

CLI Flag Reference

FormExampleDescription
Preset name-go-dns yandexUse a built-in preset
custom: prefix-go-dns custom:1.2.3.4,5.6.7.8Comma-separated IPv4 addresses
doh: prefix-go-dns doh:https://dns.example.com/dns-queryCustom DoH endpoint URL
DoH preset name-go-dns doh-cloudflareUse a built-in DoH preset

Build docs developers (and LLMs) love