Skip to content

Commit 2773605

Browse files
committed
documentation: Update DNS manual
1 parent 26975de commit 2773605

File tree

1 file changed

+52
-7
lines changed

1 file changed

+52
-7
lines changed

docs/manual/proxy/client.md

+52-7
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,10 @@ flowchart TB
336336
}
337337
```
338338

339-
=== ":material-dns: DNS rules (1.9.0+)"
339+
=== ":material-dns: DNS rules (Enhanced, but slower) (1.9.0+)"
340+
341+
=== ":material-shield-off: With DNS leaks"
340342

341-
=== ":material-shield-off: With DNS Leaks"
342-
343343
```json
344344
{
345345
"dns": {
@@ -376,7 +376,17 @@ flowchart TB
376376
"server": "google"
377377
},
378378
{
379-
"rule_set": "geoip-cn",
379+
"type": "logical",
380+
"mode": "and",
381+
"rules": [
382+
{
383+
"rule_set": "geosite-geolocation-!cn",
384+
"invert": true
385+
},
386+
{
387+
"rule_set": "geoip-cn"
388+
}
389+
],
380390
"server": "local"
381391
}
382392
]
@@ -389,6 +399,12 @@ flowchart TB
389399
"format": "binary",
390400
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs"
391401
},
402+
{
403+
"type": "remote",
404+
"tag": "geosite-geolocation-!cn",
405+
"format": "binary",
406+
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs"
407+
},
392408
{
393409
"type": "remote",
394410
"tag": "geoip-cn",
@@ -398,14 +414,18 @@ flowchart TB
398414
]
399415
},
400416
"experimental": {
417+
"cache_file": {
418+
"enabled": true,
419+
"store_rdrc": true
420+
},
401421
"clash_api": {
402-
"default_mode": "Leak"
422+
"default_mode": "Enhanced"
403423
}
404424
}
405425
}
406426
```
407427

408-
=== ":material-security: Without DNS Leaks (1.9.0-alpha.2+)"
428+
=== ":material-security: Without DNS leaks, but slower (1.9.0-alpha.2+)"
409429

410430
```json
411431
{
@@ -439,7 +459,17 @@ flowchart TB
439459
"server": "local"
440460
},
441461
{
442-
"rule_set": "geoip-cn",
462+
"type": "logical",
463+
"mode": "and",
464+
"rules": [
465+
{
466+
"rule_set": "geosite-geolocation-!cn",
467+
"invert": true
468+
},
469+
{
470+
"rule_set": "geoip-cn"
471+
}
472+
],
443473
"server": "google",
444474
"client_subnet": "114.114.114.114" // Any China client IP address
445475
}
@@ -453,13 +483,28 @@ flowchart TB
453483
"format": "binary",
454484
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs"
455485
},
486+
{
487+
"type": "remote",
488+
"tag": "geosite-geolocation-!cn",
489+
"format": "binary",
490+
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs"
491+
},
456492
{
457493
"type": "remote",
458494
"tag": "geoip-cn",
459495
"format": "binary",
460496
"url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs"
461497
}
462498
]
499+
},
500+
"experimental": {
501+
"cache_file": {
502+
"enabled": true,
503+
"store_rdrc": true
504+
},
505+
"clash_api": {
506+
"default_mode": "Enhanced"
507+
}
463508
}
464509
}
465510
```

0 commit comments

Comments
 (0)