Encrypt DNS and give each query a clear route

DoH encrypts DNS queries over HTTPS. Remote DNS uses the proxy by default; local and node lookups follow their purpose, settings and protection state

On macOS and Linux, the client takes over system DNS during connection and retains that takeover before strict Global core rebuilds, reducing router queries outside the tunnel during the gap. Resolver selection, encrypted transport and routing must work together; changing a public DNS address alone does not accomplish this.

fake-ip keeps domains associated with connections

fake-ip maps domains to virtual addresses. The core uses that mapping to identify connections captured by TUN and apply domain routing rules.

With IPv6 off, fake-ip assigns only IPv4, alongside ipv4_only resolution, IPv6 rejection and capture-then-block in TUN. Mapping does not encrypt traffic.

DNS behaviour follows the selected routing mode

Rule mode chooses a proxy, direct access or rejection through rule groups and a default policy; DNS handling must fit the request’s purpose. Global mode sends ordinary application traffic through the proxy. With leak protection on in Global mode (strict Global), configurations such as local system resolution receive the appropriate encrypted bootstrap handling.

The resolver route depends on the lookup’s role

Ask what the lookup is for before judging its route. A node hostname must be resolved to establish the tunnel, so it cannot depend on that same tunnel already existing. Ordinary destinations can follow the selected mode once connected.

RoleWhat to inspect
A website reached through the proxyWhether remote DNS uses the selected DoH resolver through the proxy
A destination intentionally routed directWhether local DNS and the matching rule agree with your intent
Node and DoH bootstrapWhether strict Global uses encrypted bootstrap rather than plaintext DNS bypass

Diagnose DNS by symptom

If new domain-based requests fail while established connections still transfer data, inspect DNS and caches first. If no node can connect, inspect node bootstrap and local connectivity. A single failing site calls for checking its matching rule before replacing every resolver.

Record local DNS, remote DNS and fake-ip changes separately, then use a fresh lookup after saving. A synthetic address shows mapping, not node reachability. A real address is not automatically a leak: compare it with that lookup’s role.