Metadata-Version: 2.1
Name: tinydns
Version: 0.0.9
Summary: this project is a tinydns automaton implementation by python
Home-page: https://github.com/xizhicode/tinydns.git
Author: zhaohengping
Author-email: 18438697706@163.com
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: gevent
Requires-Dist: dnslib

# tinydns

基于gevent的轻量dns服务

* 依赖的包 gevent,dnslib  python2:ConfigParser python3:configparser

* 方法1： pip install tinydns == 0.0.9

* 方法2： git clone https://github.com/xizhicode/tinydns.git

* 在 /etc 下 配置 tinydns.conf
        [gevent_dns]
        AF_INET = 2
        SOCK_DGRAM = 2
        port = 53
* 运行命令：sudo tinydns -c  /etc/tinydns.conf


* 测试： dig @127.0.0.1 google.com


