Comments (3)
已添加tcp方式获取dns,可以试试
Original comment by [email protected]
on 19 Nov 2011 at 4:11
- Changed state: Fixed
from pydnsproxy.
请问怎么使用tcp方式呢?
Original comment by [email protected]
on 23 Nov 2011 at 1:22
from pydnsproxy.
开启dns.py,我安装了python
2.7环境,修改网卡dns为127.0.0.1,进入nslookup,查询如下:
C:\Users\ggcall>nslookup
DNS request timed out.
timeout was 2 seconds.
默认服务器: UnKnown
Address: 127.0.0.1
> www.sina.com
服务器: UnKnown
Address: 127.0.0.1
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** 请求 UnKnown 超时
dns.py错误如下:
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 54994)
Traceback (most recent call last):
File "C:\Python27\lib\SocketServer.py", line 582, in process_request_thread
self.finish_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python27\lib\SocketServer.py", line 639, in __init__
self.handle()
File "E:\web\pydnsproxy\dns.py", line 40, in handle
resp = self.query_with_no_match(data)
File "E:\web\pydnsproxy\dns.py", line 82, in get_response_normal
return resp
UnboundLocalError: local variable 'resp' referenced before assignment
----------------------------------------
请问是什么问题?
Original comment by [email protected]
on 14 Jan 2012 at 1:10
from pydnsproxy.
Related Issues (20)
- 怎么让它绑定除了127.0.0.1以外的本地网卡地址? HOT 3
- 8月9日失效 HOT 2
- is useful HOT 1
- 无法测试效果。。。哪些网站是被dns污了的 HOT 3
- 建议增加支持本地配置文件实现优先域名解析功能
- 怎么卸载或者停用 HOT 2
- 用了这个,似乎chrome就无法自动更新了。
- 我对打包很好奇
- 如何禁用log(dns.exe.log) HOT 1
- 现象比较诡异啊 HOT 1
- DNS.exe文件不随机启动
- 访问不了ca.travelsky.com这个网站,期待更新 HOT 1
- 最近似乎不稳定,有时没效果
- 失效了 HOT 1
- 64位版本的win7可以使用不? HOT 1
- 批处理install提示opendns安装失败
- 很好的DNS代理服务!但最近运行颇不稳定,有加入Cache的必要性啊!
- socket.error: (10048, 'Address already in use')
- 這玩意已經過不了DNS污染了。
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 pydnsproxy.