Rework into using nftables, along with proper Xray DNS configuration
This commit is contained in:
19
etc/xray/config/dns.jsonc
Normal file
19
etc/xray/config/dns.jsonc
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"dns": {
|
||||
"tag": "dns-in",
|
||||
"hosts": {
|
||||
"dns.google": "8.8.8.8"
|
||||
},
|
||||
"servers": [
|
||||
"https://dns.google/dns-query",
|
||||
{
|
||||
"address": "localhost",
|
||||
"disableFallback": true,
|
||||
"domains": [
|
||||
"regexp:.*\\.lan"
|
||||
]
|
||||
}
|
||||
],
|
||||
"queryStrategy": "UseIPv4"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user