0% found this document useful (0 votes)
55 views2 pages

DNS Configuration for Alidns and Geosites

The document is a configuration file detailing DNS settings, inbound and outbound rules for proxies, and logging levels. It specifies various DNS servers and their corresponding IP addresses, along with protocols for handling traffic. Additionally, it includes routing rules based on IP addresses and domains to manage network traffic effectively.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views2 pages

DNS Configuration for Alidns and Geosites

The document is a configuration file detailing DNS settings, inbound and outbound rules for proxies, and logging levels. It specifies various DNS servers and their corresponding IP addresses, along with protocols for handling traffic. Additionally, it includes routing rules based on IP addresses and domains to manage network traffic effectively.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Configuration File

{"dns":{"hosts":{"geosite:category-ads-
all":"[Link]","domain:[Link]":"[Link]","[Link]":
["[Link]","[Link]","2400:3200::1","2400:3200:baba::1"],"[Link]":
["[Link]","[Link]","2606:4700:4700::1111","2606:4700:4700::1001"],"[Link]":
["[Link]","[Link]"],"[Link]":
["[Link]","[Link]","2001:4860:4860::8888","2001:4860:4860::8844"],"[Link]":
["[Link]","[Link]","2620:fe::fe","2620:fe::9"],"[Link]":
["[Link]","[Link]","2a02:6b8::feed:0ff","2a02:6b8:0:1::feed:0ff"]},"servers":["[Link]",
{"address":"[Link]","domains":["domain:[Link]","domain:[Link]"]},
{"address":"[Link]","domains":
["domain:[Link]","domain:[Link]","domain:[Link]","domain:[Link]","domai
n:[Link]","geosite:cn","geosite:geolocation-cn"],"expectIPs":
["geoip:cn"],"skipFallback":true}]},"inbounds":
[{"listen":"[Link]","port":10808,"protocol":"socks","settings":
{"auth":"noauth","udp":true,"userLevel":8},"sniffing":{"destOverride":
[],"enabled":false,"routeOnly":false},"tag":"socks"},
{"listen":"[Link]","port":10809,"protocol":"http","settings":
{"userLevel":8},"tag":"http"}],"log":{"loglevel":"warning"},"outbounds":[{"mux":
{"concurrency":8,"enabled":true,"xudpConcurrency":8,"xudpProxyUDP443":""},"protocol":"
vless","settings":{"vnext":[{"address":"[Link]","port":8880,"users":
[{"encryption":"none","flow":"","id":"ba11dc15-1bee-46c6-9c76-
353d174fe88b","level":8}]}]},"streamSettings":{"network":"ws","wsSettings":{"headers":
{"Host":"[Link].","User-Agent":"Mozilla/5.0(X11;Linuxx86_64)AppleWebKit/
537.36(KHTML,likeGecko)Chrome/125.0.0.0Safari/
537.36","Cookie":"Date=today"},"path":"/ws/api?ed=2056"}},"tag":"proxy"},
{"protocol":"freedom","settings":{"domainStrategy":"UseIP"},"tag":"direct"},
{"protocol":"blackhole","settings":{"response":
{"type":"http"}},"tag":"block"}],"remarks":"@Config_Mr","routing":
{"domainStrategy":"AsIs","rules":[{"ip":
["[Link]"],"outboundTag":"proxy","port":"53","type":"field"},{"ip":
["[Link]"],"outboundTag":"direct","port":"53","type":"field"},{"domain":
["domain:[Link]","domain:[Link]"],"outboundTag":"proxy","type":"field"},
{"network":"udp","outboundTag":"block","port":"443","type":"field"},{"domain":
["geosite:category-ads-all"],"outboundTag":"block","type":"field"},{"ip":
["geoip:private"],"outboundTag":"direct","type":"field"},{"domain":
["geosite:private"],"outboundTag":"direct","type":"field"},{"domain":
["domain:[Link]","domain:[Link]","domain:[Link]","domain:[Link]","domai
n:[Link]","geosite:cn","geosite:geolocation-cn"],"outboundTag":"direct","type":"field"},
{"ip":
["[Link]/32","[Link]/32","2400:3200::1/128","2400:3200:baba::1/128","[Link]
9/32","[Link]/32","[Link]/32","2402:4e00::/128","2402:4e00:1::/128","180.76.
76.76/32","2400:da00::6666/128","[Link]/32","[Link]/32","180.184.
1.1/32","[Link]/32","[Link]/32","[Link]/32","[Link]/32","140.207
.198.6/32","geoip:cn"],"outboundTag":"direct","type":"field"},
{"outboundTag":"proxy","port":"0-65535","type":"field"}]}}}

You might also like