Comments (16)
规则的话可以通过 dispatch.conf 来自定义,没有提供参数指定 iplist 路径的功能。
from simpledns.
谢谢回复。
iplist 文件暂时通过 ln 解决问题,不过增加一个参数的确会很方便。
dispatch.conf,文件编写规则,没有在 README 里看到,有稍微简单点的说明么?
from simpledns.
README 里其实提到了,使用的是 dnsmasq 的规则,支持了 address 和 server 这两种配置
from simpledns.
明白了,我研究一下。
使用你这个 dns 的人多么?
from simpledns.
这个项目是我两年前写的了,已经大概一年没维护了。当时在学校的时候我自己是用的,现在没有教育网环境其实用处已经不太大了。
from simpledns.
其实本地 dns 的意义还是很大的,特别是放污染。
如果有时间,继续维护一定会非常棒的
from simpledns.
这项目里面用的 iplist 以及 conf 来自于另一个项目 https://github.com/felixonmars/dnsmasq-china-list ,可以试着去更新一下新的地址列表。
from simpledns.
现在这个列表变的有点大了,不知道会不会有性能问题...
from simpledns.
你测测,怎么更新这个?是 cp 文件到某个目录么
from simpledns.
就是这个 https://github.com/felixonmars/dnsmasq-china-list/blob/master/accelerated-domains.china.conf 扔到 dispatch.conf 里
from simpledns.
我是用 pip 安装的,dispatch 文件在哪儿呢?
from simpledns.
/usr/local/etc/simpledns/dispatch.conf
from simpledns.
我这个目录下只有
yingjun @ YingjundeMacBook-Pro in /usr/local/etc/simpledns on git:master o [14:22:00]
$ ll
total 8
drwxr-xr-x 4 yingjun admin 136 9 18 13:52 ./
drwxr-xr-x 26 yingjun admin 884 9 18 13:52 ../
-rw-r--r-- 1 root admin 180 9 18 13:52 cache.pk
lrwxr-xr-x 1 yingjun admin 58 9 18 13:52 iplist.txt -> /Users/yingjun/CloudStation/sync/tools/chinaDNS/iplist.txt
from simpledns.
是新建一个空白的么?
from simpledns.
在 Mac 上安装貌似有些问题.....你建一个试试吧...
from simpledns.
已经新建一个,并且 ln 过去,只是不知道是不是调取了。
另外,发现在arm 上通过 pip 安装有问题,失败了
from simpledns.
Related Issues (15)
- issue with edu.cn HOT 13
- Can we support DNS over https? HOT 1
- 内网好像访问不了这个DNS服务器. HOT 1
- Not happy on 3.6.1, 3.5.2 HOT 7
- Reverse lookup HOT 3
- --upstream-ip 参数, 能不能使用多个DNS HOT 1
- module 错误 macOS high sierra beta8 HOT 1
- 报错 HOT 3
- Where is the fake IP list? HOT 1
- How to make this work with IPv6? HOT 1
- IOError on OS X 10.11 el capitan HOT 4
- 有几个建议 HOT 4
- 偶尔出现无法解析的情况
- 泛域名无法使用 HOT 1
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 simpledns.