MasterDnsVPN-AndroidClient icon indicating copy to clipboard operation
MasterDnsVPN-AndroidClient copied to clipboard

the problem with dns resolvers

Open kafanase opened this issue 6 months ago • 1 comments

There's a problem with DNS resolvers. None of them seem to work, even though they all work! No matter how I change the DNS!! I set everything up and created a server on my VPS. It should work, slipstream worked. .../emulated/0 $ dig @1.1.1.1 ns.wlrus.lol

; <<>> DiG 9.20.21 <<>> @1.1.1.1 ns.wlrus.lol ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58015 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;ns.wlrus.lol. IN A

;; ANSWER SECTION: ns.wlrus.lol. 60 IN A 2.26.87.135

;; Query time: 24 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Sat May 23 12:42:08 MSK 2026 ;; MSG SIZE rcvd: 57

Screenshot_20260523-124003.png

kafanase avatar May 23 '26 09:05 kafanase

Hi, thanks for the report. Looking at your dig output, 1.1.1.1 resolved ns.wlrus.lol via the public recursive DNS — that only proves the name exists, not that your VPS is actually serving DNS on port 53. The client connects directly to whatever IPs you put in the resolvers list and sends them DNS queries, so the VPS itself must be listening on UDP/TCP 53 and answering (your server config, not just the domain record).

A couple of things to check:

  1. On the VPS, confirm the DNS service is up and reachable from the public internet (e.g. dig @2.26.87.135 ns.wlrus.lol from another machine). If that times out or is refused, the client will reject every resolver.
  2. Firewalls: make sure UDP 53 (and ideally TCP 53) are open inbound on the VPS. Many providers/cloud panels block 53 by default.
  3. In the app, use IP addresses only in the resolvers field (e.g. 2.26.87.135), not hostnames — the client does not resolve hostname resolvers and silently skips them, which can leave you with zero active resolvers even though you typed something in.
  4. Try a larger resolver pool: add several IPs (your VPS IP plus a couple of fallback public resolvers you control, if any) so the balancer has more candidates to test during the MTU/scan phase.

If after that resolvers still show up as 0 active in the "Resolvers" tab, attach the log from the Logs tab (or vpn.log) and I'll take a closer look.

Hidden-Node avatar Jul 20 '26 21:07 Hidden-Node