Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

nullQ/DNS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

223 Commits

Repository files navigation

PandaDNS

Better Internet

#DEMO

  • 北方:123.206.49.193

  • 南方:120.27.30.176

more about

#INSTALLATION

NOTE

  • Your VPS must be in China
  • Only support Centos 6.X or ubuntu
  • You need remove old bind version RUN yum remove bind*

####If you want to install on docker,please read Install with docker

RUN

  • cd /root && git clone https://github.com/zyqf/DNS.git && cd DNS && python install.py

#UPDATE rpz.zone flie

  • python /root/DNS/bin/update.py

#OR

  • crontab -e

  • 00 02 * * * python /root/DNS/bin/update.py

#DNS SERVER SECURITY

  • add rule:iptables -A INPUT -p udp --dport 53 -m recent --set --name dnslimit

  • add rule:iptables -A INPUT -p udp --dport 53 -m recent --update --seconds 2 --hitcount 18 --name dnslimit -j DROP

  • save rule:service iptables save

  • restart iptables:service iptables restart

#查询IP的ISP www.whatismyip.com/ip-address-lookup

#thanks list

About

PandaDNS - Build your own DNS server quickly !

Resources

License

Stars

Watchers

Forks

Packages

Contributors

Languages

  • Python 64.1%
  • Shell 35.9%

AltStyle によって変換されたページ (->オリジナル) /