warriorpaw / z-dns Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/z-dns
License: Apache License 2.0
Automatically exported from code.google.com/p/z-dns
License: Apache License 2.0
其实路由自带的 dnsmasq
本身就带了通配符功能,语法请看http://code.google.com/p/smarthosts
/source/browse/trunk/dnsmasq.conf
Original issue reported on code.google.com by [email protected]
on 28 Jun 2012 at 5:56
google code的强大之处就是可以协同开发 用svn
进行对代码的check out 和 commite
Lisence 就是程序的声明 可以选择他是开源项目还是别的什么
Version Control 就是版本控制
项目成员都可以进行修改 有点类似操作系统的PV锁
不会有什么脏数据
总之感觉google code挺好用的,就是墙的太恶心了~
Original issue reported on code.google.com by [email protected]
on 11 Oct 2011 at 9:11
你好,
就是在程序什么地方可以判断域名的CNAME
地址,因为最近有个项目需要判断域名的CNAME
数据,然后,针对性返回特定Ip地址。
请指导下。谢谢
我已经在G+1上你给留言了。
Original issue reported on code.google.com by [email protected]
on 3 Nov 2012 at 12:56
逛进来发现支持通配符,很不错的东西;但是有几个疑问
1.Z-DNS是通过GFW看不懂的TCP查询还是UDP?
2.这个有没有DNS查询结果缓存,默认多少条?
3.好像不支持PY 3.x运行环境,PY
3.2.2下报错(第191行),2.7.2正常
Original issue reported on code.google.com by [email protected]
on 23 Dec 2011 at 2:25
测试了几个地址 和goagent返回的结果还是有出入。
当然远程都是8.8.8.8
特别想能与goagent提供的DNS服务搭配
把Zdns作为智能切换 类似SwitchySharp 或autoproxy的切换功能
但是做了如下尝试后以失败告终
首先编辑goagent的配置文件 改为如下
[dns]
enable = 1
listen = 127.0.0.1:54[或者其他端口]
remote = 8.8.8.8
cachesize = 5000
timeout = 2
再在Zdns的dns.conf写入
Foreign_DNS 127.0.0.1:54
没测试 估计不行。。
所以索性改.PY
class DNSProxyHandler_ByTCP(StreamRequestHandler):
def handle(self):
data = self.connection.recv(1024)
s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
s.connect(("8.8.8.8",53)) [此处改为s.connect(("127.0.0.1",54))]
s.send(data)
r_data = s.recv(1024)
self.wfile.write(r_data)
s.close()
做了以上尝试后失败告终 所以只能求指教了。。
确实不知道现在版本能否这样使用
但是改一下估计也不会特别的麻烦
或者是加入另一个本地DNS选择 可以任意启用其中2个实现切换
还想问问以后是否有朝着这方面发展的打算
就是作为本地的一个高级DNS智能切换~~ 其他的不管
Original issue reported on code.google.com by [email protected]
on 7 Jan 2013 at 5:32
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.