Closed pulsarice closed 6 months ago
+1
The only option which is not available in the panel is skipFallback. It is now added. I can't find a general way to add other options which have only one function. Do you have any idea ?
Just needs to pin this issue for advanced users.
The only option which is not available in the panel is skipFallback. It is now added.
Thanks
I can't find a general way to add other options which have only one function. Do you have any idea ?
I practically know nothing about coding and don't know any side effects this might have. but this is my suggestion:
Upon enabling fakedns and adding it to dns part of config.json, enable"skipFallback": true
to prevent other domains to be resolved by fakedns.
Add the needed dns outbound
{
"protocol": "dns",
"tag": "dns-out"
}
and these are the minimum routing rules needed to make fakedns function:
{
"type": "field",
"inboundTag": [
"dns_inbound"
],
"outboundTag": "userdefined"
},
{
"type": "field",
"port": "53",
"outboundTag": "dns-out"
}
The first rule is needed to prevent routing loop caused by the next rule. we don't want to route dns traffic generated by core back to itself. There's another problem, we don't know what outbound/balancer we should use to route that traffic. Therefore I think it's a good idea to add a user configurable outbound/balancer tag for traffic generated by internal dns. (under DNS tab of Xray config in UI) because if the x-ui is running on a domestic server, the core's internal dns traffic will be routed to the first outbound (usually direct which will be prone to dns poisoning) unless specified in routing rules. I know it's a hassle to implement these and also might break something else!
There is a fact here, when it is configurable and all needed parameters are exist, then it is enough. Admin only needs one time configuration.
This panel should not force admins to configure in one predefined way. Each admin has separated config and their desired solution. For example please think about these situations:
Therefore keep it open to configure by admin could be more useful (in my opinion).
Thanks again Closing this issue... Please open new issue in case of new bug/enhancements
Thanks for your attention to this matter
یک راه راحتتر برای حل مشکل اسپاتیفای هست بدون نیاز به fakedns. علاوه بر اون رول که domain:spotify.com رو انداختید روی مسیر warp، باید یه رول جدید هم ایجاد کنید و ترافیک پورت 4070 رو ببرید روی وارپ.
{
"type": "field",
"port": "4070",
"outboundTag": "warp"
}
سلام در سرور های تانل مشکل به چه صورت حل میشه؟
برای راه ساده حل مشکل اسپاتیفای این کامنت رو ببینید
Spotify blocks requests from many datacenter IPs and we have to route its traffic through Warp. For some reason, xray can't sniff the domain name in some of Spotify's requests. The only solution that I have found is to use fakeDNS. But using fakeDNS for all domains can cause DNS corruption and make some apps misbehave after VPN disconnection. The solution is to intercept DNS traffic on port 53 and forward it to core's built-in DNS and using fakeDNS only for those specific domains.
Currently I'm doing it by manually editing the config file. It would be nice if these configurations could be implemented in the GUI: