Comments (5)
DNS相关配置如下
dns:
enable: true
ipv6: false
listen: 0.0.0.0:53
# enhanced-mode: redir-host
nameserver:
- 114.114.114.114
- 223.5.5.5
- tls://dns.rubyfish.cn:853 # dns over tls
fallback: # 与 nameserver 内的服务器列表同时发起请求,当规则符合 GEOIP 在 CN 以外时,fallback 列表内的域名服务器生效。
- 114.114.114.114
- tls://dns.rubyfish.cn:853 # dns over tls
- 8.8.8.8
- 192.168.193.53
from clash.
我这里测试 0.10.2
是可以的,但是我这里也遇到了一个问题:你应该是使用了类似 http://registry.docker-cn.com
之类的镜像仓库吧?
我试着拉了一下 latest
但发现是旧版的 clash,但是指定版本号拉就没有问题,可能是由于缓存原因导致的。我在 VPS 上拉原始仓库的 latest
就没有问题。你可以先看看镜像日期是否正确。
from clash.
我这里测试
0.10.2
是可以的,但是我这里也遇到了一个问题:你应该是使用了类似http://registry.docker-cn.com
之类的镜像仓库吧?我试着拉了一下
latest
但发现是旧版的 clash,但是指定版本号拉就没有问题,可能是由于缓存原因导致的。我在 VPS 上拉原始仓库的latest
就没有问题。你可以先看看镜像日期是否正确。
并没有啊,我用的是hub.docker.com的镜像
dreamacro/clash latest 5cb569f307aa 7 days ago 16.6MB
不过很奇怪,我试了诸如dnscrypt-proxy这样的docker镜像,也是tcp是好的,udp失败,难道是我的Docker for Mac的问题??
from clash.
我也是 docker for mac,我这里是 ok 的,我的 docker-compose.yml
version: '3'
services:
clash:
image: dreamacro/clash:0.10.2
volumes:
- ./config.yml:/root/.config/clash/config.yml
ports:
- "6667:7890"
- "6668:7891"
- "53:53/udp"
restart: always
network_mode: "bridge"
container_name: clash
from clash.
Don't know why but works again
from clash.
Related Issues (20)
- [Feature] nameserver-policy 支持系统默认 DNS
- [Feature] 配置项 ebpf.redirect-to-tun 可以支持 auto-detect-interface ?
- [Feature] default proxy for GLOBAL
- Installation of clash-linux-armv5 on RT-AC86U not working
- [Feature] <增强"rule groups"的 可配置性,添加诸如sub-rule、更多条件判断……等等> HOT 21
- [Bug] <centos 7 amd64运行问题> HOT 1
- [Feature] <可以提升一下clash的并发能力吗> HOT 5
- [Feature] Allow Lan Bind 网卡IP 本机127.0.0.1无法访问 HOT 1
- [Feature] 给出连接域名/ IP 时会使用的代理 / 规则的匹配结果
- [Feature] <titIs it possible to have the dns request sent out through a proxy, rather than through a physical NIC like this, which is a very insecure practice?le> HOT 7
- [Feature] <标题> 关于一些使用clash的gui的开源建议 HOT 10
- title
- title
- [Bug] <iPad局域网无法使用youtube应用播放视频>
- [Bug] <load-balance模式proxy-group节点变红后, 无法使用该节点发送请求(和interval时间无关)>
- The External Controller 提供接口获取clash当前yaml配置文件路径
- [Bug] auto set route failed error=unsupported kernel version
- 在开启TUN模式后,UPNP功能就不正常了,看起来NAT也降级了
- [Bug] TUN模式下使用script模式时,不识别rule-providers中的PROCESS-NAME规则
- [Bug] Ubuntu 上使用 clash premium 开启 TUN 模式后,局域网内其他设备无法通过该设备上网
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clash.