Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行错误 #40

Open
tqangxl opened this issue Aug 10, 2017 · 2 comments
Open

运行错误 #40

tqangxl opened this issue Aug 10, 2017 · 2 comments

Comments

@tqangxl
Copy link

tqangxl commented Aug 10, 2017

Microsoft Windows [版本 10.0.15063]
(c) 2017 Microsoft Corporation。保留所有权利。
C:\Users\xxx>python
Python 3.6.1 |Anaconda 4.4.0 (64-bit)| (default,

========================**
当前可用操作有:
1 运行本地DNS服务器
2 恢复动态DNS(恢复网络)
3 更新记录文件并运行本地DNS服务器
4 退出
请选择后回车:
3

Windows IP 配置
已成功刷新 DNS 解析缓存。
Sorry,DNSMasq is not support
Traceback (most recent call last):
File "update.py", line 60, in
urllib2.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
Failed to execute script update
若无法使用,请手动修改系统的DNS为:127.0.0.1(默认情况)
==========Config===========
Local_dns_server: 127.0.0.1
Local_dns_port: 53
Remote_dns_server: 114.114.114.114
Remote_dns_port: 53
===========Config==========
Trying start bind local IP and port ...
Bind successfully! Running ...
Query: clients2.google.com.
Revise: clients2.google.com.
Query: www.google.com.
Revise: www.google.com.
Query: Query: mail.google.com.mail.google.com.

@downature
Copy link
Contributor

系统DNS改为114.114.114.114
python update.py
start.py
更改系统DNS 为127.0.0.1

@hdjdm
Copy link

hdjdm commented Aug 20, 2019

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\j>d:

D:>cd dowsDNS-beta

D:\dowsDNS-beta>python start.py
'python' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\dowsDNS-beta>py start.py
Traceback (most recent call last):
File "start.py", line 8, in
import requests
ModuleNotFoundError: No module named 'requests'

D:\dowsDNS-beta>py update.py
Starting hosts updating...
success! hosts have done !
Starting wrcd updating...
success! wrcd have done !

D:\dowsDNS-beta>py start.py
Traceback (most recent call last):
File "start.py", line 8, in
import requests
ModuleNotFoundError: No module named 'requests'

D:\dowsDNS-beta>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants