Skip to main content

this project is a tinydns automaton implementation by python

Project description

tinydns

基于gevent的轻量dns服务

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

  • 方法1: pip install tinydns == 0.0.8

  • 方法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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinydns-0.0.8.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

tinydns-0.0.8-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page