{ "log": { "access": "/opt/var/log/xray/access.log", // Запись доступа "error": "/opt/var/log/xray/error.log", // Запись ошибок "loglevel": "debug", // Уровень журнала: от минимального до максимального: "none", "error", "warning", "info", "debug" "dnsLog": true // Включить / Выключить отслеживание DNS запросов: false, true }, "dns": { "tag": "dns-in", "servers": [ { "address": "https+local://cloudflare-dns.com/dns-query", "finalQuery": false, "timeoutMs": 2000 }, { "address": "https+local://8.8.4.4/dns-query", "finalQuery": false, "timeoutMs": 2000 }, { "address": "https+local://router.comss.one/dns-query", "finalQuery": false, "timeoutMs": 2000 }, { "address": "quic+local://94.140.15.15:853", "finalQuery": false, "timeoutMs": 2000 }, { "address": "quic+local://dns.alidns.com:853", "finalQuery": false, "timeoutMs": 2000 }, { "address": "https+local://protective.joindns4.eu/dns-query", "finalQuery": false, "timeoutMs": 2000 }, { "address": "https+local://1.1.1.1/dns-query", "finalQuery": false, "timeoutMs": 2000 }, { "address": "https+local://149.112.112.10/dns-query", "finalQuery": false, "timeoutMs": 2000 }, { "address": "quic+local://94.140.15.15:853", "domains": [ "themoviedb.org", "www.themoviedb.org", "domain:browserleaks.org", "domain:dnsleaktest.com", "tmdb.org", "image.tmdb.org", "api.themoviedb.org", "tmdb-image-prod.b-cdn.net", "media.themoviedb.org", "tmdb-web-image-prod.b-cdn.net", "domain:goproxy.io", "domain:vscodium.com" ], "skipFallback": false, "finalQuery": true, "timeoutMs": 2000 }, { "address": "https+local://8.8.8.8/dns-query", "domains": [ "lkfl2.nalog.ru", "domain:nalog.ru", "googlevideo.com", "yt3.ggpht.com", "youtube.com", "i.ytimg.com", "youtubei.googleapis.com", "yt3.ggpht.com", "yt3.googleusercontent.com", "google.com", "googleapis.com", "gstatic.com", "youtu.be", "yastatic.net", "yandex.net" ], "clientIp": "93.100.42.161", "skipFallback": true, "finalQuery": true, "timeoutMs": 2000 } ], "hosts": { "btcpay.local": "192.168.2.150", "pihome.myhome": "192.168.2.100" }, "clientIp": "87.171.213.191", "queryStrategy": "UseIPv4", "disableCache": false, "disableFallback": false, "enableParallelQuery": false, "disableFallbackIfMatch": false }, "inbounds": [ { "tag": "dns-myrouter", "port": 53, "listen": "192.168.2.1", "protocol": "dokodemo-door", "settings": { "address": "127.0.0.5", "port": 53, "network": "tcp,udp", "followRedirect": false } }, { "tag": "dns-anyway", "port": 53, "protocol": "dokodemo-door", "settings": { "address": "127.0.0.5", "port": 53, "network": "tcp,udp", "followRedirect": false } } ], "outbounds": [ { "tag": "dns-out", "protocol": "dns" } ], "routing": { "rules": [ { "type": "field", "inboundTag": [ "dns-anyway", "dns-myrouter" ], "port": 53, "outboundTag": "dns-out" } ] } }