Pages

Tuesday, 28 June 2016

PandaDNS及其安装

DEMO

  • 北方:123.206.49.193
  • 南方:120.27.30.176

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

thanks list


from https://github.com/zyqf/DNS
---------------------------------------------------------------------------------------------------------------

北方DNS

123.206.49.193

南方DNS

120.27.30.176

support: wikipedia,google,facebook,twitter,instagram,soundcloud

飞速

服务器位于国内,响应迅速,热门网站,60ms内解析完成。

精确

虽位于国内,但不失精确,正确解析国外网站

干净

上游DNS仅为全球13台DNS根服务器,干净无劫持,远离无良运营商

安全

采用全球流行的DNS服务软件:BIND,稳定安全却不失优雅

from http://dns.pandadns.xyz