Your commit message
This commit is contained in:
30
v2ray示例/旁路由-透明代理/HomeProxy/自建CoreDNS服务器/Corefile-GitHub
Normal file
30
v2ray示例/旁路由-透明代理/HomeProxy/自建CoreDNS服务器/Corefile-GitHub
Normal file
@@ -0,0 +1,30 @@
|
||||
.:5353 {
|
||||
ads {
|
||||
strict-default-lists
|
||||
blacklist https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-domains.txt
|
||||
whitelist https://files.krnl.eu/whitelist.txt
|
||||
log
|
||||
auto-update-interval 48h
|
||||
list-store ads-cache
|
||||
}
|
||||
hosts {
|
||||
fallthrough
|
||||
}
|
||||
forward . tcp://8.8.8.8 127.0.0.1:53001 {
|
||||
|
||||
log
|
||||
cache
|
||||
redisc {
|
||||
endpoint 16379
|
||||
}
|
||||
health
|
||||
reload
|
||||
}
|
||||
|
||||
.:53001 {
|
||||
bind 127.0.0.1
|
||||
forward . tls://1.1.1.1:853 {
|
||||
tls_servername cloudflare-dns.com
|
||||
}
|
||||
cache
|
||||
}
|
||||
Reference in New Issue
Block a user