mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-19 22:58:03 +03:00
Feat: add disableFallback & skipFallback option for DNS client (#489)
This commit is contained in:
@ -13,6 +13,7 @@ import "app/router/config.proto";
|
||||
message NameServer {
|
||||
xray.common.net.Endpoint address = 1;
|
||||
bytes client_ip = 5;
|
||||
bool skipFallback = 6;
|
||||
|
||||
message PriorityDomain {
|
||||
DomainMatchingType type = 1;
|
||||
@ -84,8 +85,10 @@ message Config {
|
||||
|
||||
reserved 7;
|
||||
|
||||
// DisableCache Disable DNS cache
|
||||
// DisableCache disables DNS cache
|
||||
CacheStrategy cache_strategy = 8;
|
||||
|
||||
QueryStrategy query_strategy = 9;
|
||||
|
||||
bool disableFallback = 10;
|
||||
}
|
||||
|
Reference in New Issue
Block a user