From 791e553c38d59bd771d95446096df1323bef18bd Mon Sep 17 00:00:00 2001 From: mzz2017 <2017@duck.com> Date: Sun, 12 Feb 2023 00:53:33 +0800 Subject: [PATCH] docs: README --- example.dae | 2 ++ routing.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/example.dae b/example.dae index 47798da..58a2a63 100644 --- a/example.dae +++ b/example.dae @@ -94,5 +94,7 @@ routing { ip(geoip:cn) -> direct domain(geosite:cn) -> direct + + # Define final as the fallback outbound final: my_group } diff --git a/routing.md b/routing.md index d0e5c73..5cd5e8d 100644 --- a/routing.md +++ b/routing.md @@ -72,4 +72,8 @@ domain(geosite:geolocation-!cn) && geosite:category-scholar-!cn, geosite:category-scholar-cn ) -> my_group + +# Customized DAT file +domain(ext:"yourdatfile.dat:yourtag")->direct +ip(ext:"yourdatfile.dat:yourtag")->direct ```