Skip to content

transport: initial dnstt - #35

Open
markpash wants to merge 1 commit into
GFW-knocker:mainfrom
markpash:pr/markpash/dnstt
Open

transport: initial dnstt#35
markpash wants to merge 1 commit into
GFW-knocker:mainfrom
markpash:pr/markpash/dnstt

Conversation

@markpash

@markpash markpash commented Feb 8, 2026

Copy link
Copy Markdown

Supports client-side only. Can be used with any outbound protocol.

example config:

{
  "log": {
    "loglevel": "debug"
  },
  "inbounds": [
    {
      "listen": "127.0.0.1",
      "port": 2053,
      "protocol": "socks",
      "settings": {
        "auth": "noauth"
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "socks",
      "settings": {
        "servers": [
          {
            "address": "1.1.1.1",
            "port": 53
          }
        ]
      },
      "streamSettings": {
        "network": "dnstt",
        "dnsttSettings": {
          "tunnelAddress": "t.example.com",
          "tunnelPublicKey": "dnstt-public-key"
        }
      }
    }
  ]
}

@hiddify-com

hiddify-com commented Feb 9, 2026

Copy link
Copy Markdown

great job

i suggest to change the ServerAddress name to domain to avoid confusion

@sartoopjj

Copy link
Copy Markdown

Nice

@markpash

markpash commented Feb 20, 2026

Copy link
Copy Markdown
Author

great job

i suggest to change the ServerAddress name to domain to avoid confusion

@hiddify-com
The xray-core has now been rebased so I can now finish this PR.
What URL scheme are you thinking of for this?
Can you paste an example config so we can make sure all apps are compatible?

@hiddify-com

Copy link
Copy Markdown

i have used:

	which means that in a vless url
	
	vless://xxxx/?....&net=dnstt&pubkey=xxxx&domain=d.com&resolver=r1&resolver=r2
	
	in hiddify: 
	-same: "pubkey", "publickey", "serverpublickey"
	-same: "domain", "serveraddress", "address"
	- resolver
	is used

Signed-off-by: Mark Pashmfouroush <mark@markpash.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants