Coder Social home page Coder Social logo

z-dns's People

Contributors

googlecodeexporter avatar warriorpaw avatar

Stargazers

 avatar

Watchers

 avatar

z-dns's Issues

关于路由器跑dns代理

其实路由自带的 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

现有版本有没有什么办法能和gogaent打配合???

测试了几个地址 和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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.