[GH-ISSUE #1782] DNS Related #1212

Closed
opened 2026-10-31 20:17:16 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @StayAway32 on GitHub (Feb 9, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1782

hello again and sorry to bother :)

"tag": "DNS",
"protocol": "dns",
"settings": {
"network": "tcp",
"address": "127.x.x.x",
"port": 53

now in order to forward all dns querys to the outband i need a routing rule

the only thing i could do is to set a routing rule with ports 53,853 to OutBandTag="DNS"

"type": "field",
"port": "53,853",
"outboundTag": "DNS"

now here is a question ! what about dns querys over 443 ?

if i specify 53,853,443 will it also direct traffic towards xxx.com:443 to my dns outband ?

i have already configured and its working with 53,853 ! BUT i can see that somehow there still are connections established to unspecified dns server through https !!!

and i just want all dns querys on the server to be forwarded to the local resolver

how do i prevent dns leaks ?

please help me this matter have been eating me inside out
i just want to know how to ensure all dns querys that xray makes go to a specific outband ?
thanks in advance

Originally created by @StayAway32 on GitHub (Feb 9, 2024). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1782 hello again and sorry to bother :) "tag": "DNS", "protocol": "dns", "settings": { "network": "tcp", "address": "127.x.x.x", "port": 53 now in order to forward all dns querys to the outband i need a routing rule the only thing i could do is to set a routing rule with ports 53,853 to OutBandTag="DNS" "type": "field", "port": "53,853", "outboundTag": "DNS" now here is a question ! what about dns querys over 443 ? if i specify 53,853,443 will it also direct traffic towards xxx.com:443 to my dns outband ? i have already configured and its working with 53,853 ! BUT i can see that somehow there still are connections established to unspecified dns server through https !!! and i just want all dns querys on the server to be forwarded to the local resolver how do i prevent dns leaks ? please help me this matter have been eating me inside out i just want to know how to ensure all dns querys that xray makes go to a specific outband ? thanks in advance
bsakaguchi 2026-10-31 20:17:16 +07:00
  • closed this issue
  • added the
    question
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#1212
No description provided.