Skip to content
Discussion options

You must be logged in to vote

After arguing with Claude for two days I finally pinned down the issue! In short: It's DNS.

In long: Go's Network Stack (Dialer? and DNS resolver) are extremely slow on my system for some odd reason. Maybe it just doesn't play nice with systemd-resolved and NetworkManager; who knows, because I don't. Forcing Xray to use its own networking stack fixes this.

The changes needed are as follows:

{
    "dns": {
        "servers": [
            "https+local://1.1.1.1/dns-query" // Configure at least one server
            // DO NOT set localhost as a server, since that uses Go's DNS Resolver / Network Stack.
        ]
    },
    "outbounds": [
        {
            "tag": "direct",
            "…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Lopolin-LP
Comment options

Comment options

You must be logged in to vote
2 replies
@kfr2359
Comment options

@Lopolin-LP
Comment options

Answer selected by Lopolin-LP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants