DNS New Features: disableCache, finalQuery, unexpectedIPs, "*", UseSystem-queryStrategy, useSystemHosts (#4666)

This commit is contained in:
patterniha 2025-06-06 05:29:16 +03:30 committed by GitHub
parent 028e1114e6
commit 6232e230d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 444 additions and 189 deletions

View file

@ -25,12 +25,16 @@ message NameServer {
}
repeated PriorityDomain prioritized_domain = 2;
repeated xray.app.router.GeoIP geoip = 3;
repeated xray.app.router.GeoIP expected_geoip = 3;
repeated OriginalRule original_rules = 4;
QueryStrategy query_strategy = 7;
bool allowUnexpectedIPs = 8;
bool actPrior = 8;
string tag = 9;
uint64 timeoutMs = 10;
bool disableCache = 11;
bool finalQuery = 12;
repeated xray.app.router.GeoIP unexpected_geoip = 13;
bool actUnprior = 14;
}
enum DomainMatchingType {
@ -44,6 +48,7 @@ enum QueryStrategy {
USE_IP = 0;
USE_IP4 = 1;
USE_IP6 = 2;
USE_SYS = 3;
}
message Config {