Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote DNS works only for IP #1548

Open
1 of 2 tasks
Ariurn opened this issue Dec 13, 2024 · 0 comments
Open
1 of 2 tasks

Remote DNS works only for IP #1548

Ariurn opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working reviewed

Comments

@Ariurn
Copy link

Ariurn commented Dec 13, 2024

Search first

  • I searched and no similar issues were found

What Happened?

Remote dns don't work if it's a domain. When I use ip address, it works ok. For example:

Why this important: due to regional restrictions, I want to use my own doh.

Minimal Reproducible Example (MRE)

  1. Open "Config options"
  2. Set "Remote DNS" to "https://cloudflare-dns.com/dns-query"
  3. Try to start VPN - you'll get error: "create service: parse route options: parse dns rule[0]: missing conditions"

Expected Behavior

VPN should use provided dns with domain.

Version

2.5.7

Platform/OS

Linux

Additional Context

image

Application Config Options

{
  "region": "other",
  "block-ads": true,
  "use-xray-core-when-possible": false,
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": true,
  "ipv6-mode": "prefer_ipv4",
  "remote-dns-address": "https://cloudflare-dns.com/dns-query",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "https://cloudflare-dns.com/dns-query",
  "direct-dns-domain-strategy": "",
  "mixed-port": 12334,
  "tproxy-port": 12335,
  "local-dns-port": 16450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://cp.cloudflare.com",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 16756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": true,
  "bypass-lan": true,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "10-30",
    "fragment-sleep": "2-8",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "1-3",
    "noise-size": "10-30",
    "noise-delay": "10-30",
    "noise-mode": "m4"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "1-3",
    "noise-size": "10-30",
    "noise-delay": "10-30",
    "noise-mode": "m4"
  }
}

Relevant log output

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)
@Ariurn Ariurn added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reviewed
Projects
Status: No status
Development

No branches or pull requests

2 participants