怎样安装PowerDNS

2015年9月15日 | 分类: 【技术】

【介绍】

DNS(Domain Name System,域名系统),因特网上作为域名和IP地址相互映射的一个分布式数据库,能够使用户更方便的访问互联网,而不用去记住能够被机器直接读取的IP数串。DNS协议运行在UDP协议之上,使用端口号53。在RFC文档中RFC 2181对DNS有规范说明,RFC 2136对DNS的动态更新进行说明,RFC 2308对DNS查询的反向缓存进行说明。

PowerDNS Authoritative Server (PDNS) 是一个高性能的权威 DNS 名字服务器,支持文本的 BIND 配置,也可将配置存储与 MySQL, Oracle, PostgreSQL, SQLite, MongoDB 等数据库,后端可使用多种编程语言进行扩展。

官网:https://www.powerdns.com/
下载:https://github.com/PowerDNS
下载:https://www.powerdns.com/downloads/pdns
下载:https://repo.powerdns.com/

【客户】

1. 台湾的 twnic
2. register.com_Tucows
3. 世界第一德国的主机商 1&1
4. nic.MP 注册局_Registy

【部署(1)】

参考:https://guozeyu.com/2016/08/self-host-dns/
参考:https://guozeyu.com/2018/03/dnssec/

手册:https://doc.powerdns.com/md/authoritative/installation/

需要先安装 pdns-server ,然后再安装 pdns-backend-$backend 。

Backend 是你可以自己选的,常用的有 BIND 和 Generic MySQL ,需要 GEODNS 可以用 GEOIP ,所有列表见此。如果想做网页版控制后台,使用 MySQL 的可能比较方便。如果只是通过文件形式控制,那么 BIND 和 GEOIP 都可以。GEOIP 版本可拓展性强,使用 YAML 文件,更灵活、优雅,本文就讲讲 GEOIP 版本。

在 CentOS 上安装:

yum install pdns pdns-backend-geoip -y

配置文件:

/etc/pdns/pdns.conf

安装地理位置数据库:

MaxMind GeoIP Lite 数据库, Binary 格式。

下载:https://dev.maxmind.com/geoip/legacy/geolite/

【部署(2)】

安装 dns主机_PowerDNS 与 管理接口_PowerAdmin

参考:http://www.howtoforge.com/installing-powerdns-with-mysql-backend-and-poweradmin-on-centos-5.2

【对标】

Bind

Bind是一款开放源码的DNS服务器软件,Bind由美国加州大学Berkeley分校开发和维护的,全名为Berkeley Internet Name Domain它是目前世界上使用最为广泛的DNS服务器软件,支持各种unix平台和windows平台。

官网:https://www.isc.org/downloads/BIND/
下载:ftp://ftp.isc.org/isc/bind9/

wddns

wddns是一套基于bind+mysql构建开发,web在线管理的智能DNS系统,安装方便,快速,让你可在最短时间内架构一套DNS/智能DNS系统.目前支持电信/网通/教肓网/移动/铁通/广电/按省份解析(31个省份)/搜索引擎蜘蛛等多线路,具有强大的监控功能,服务器健康检测,即宕机检测和切换,DNS服务器健康监控,宕机切换,防攻击检测,可选自动屏蔽攻击者IP,易扩展DNS服务器,数据自动同步等

参考:http://www.7edown.com/soft/down/soft_34110.html
参考:https://blog.csdn.net/h270768095/article/details/9317269
参考:http://www.laozuo.org/1993.html

【参考】

参考:http://www.laozuo.org/3924.html
参考:https://wenku.baidu.com/view/8cb117303968011ca3009187.html
参考:https://wenku.baidu.com/view/7fd5d83c67ec102de2bd8996.html
参考:http://www.ttlsa.com/tools/install-powerdns-on-linux/
参考:https://blog.csdn.net/u011608531/article/details/50756363
参考:http://static.oschina.net/p/powerdns/news
参考:https://www.v2ex.com/t/98618
参考:http://www.hostloc.com/thread-43077-1-94
参考:http://wenku.baidu.com/view/278f8ef6ba0d4a7302763a67
参考:http://www.mcqyy.com/wenku/jiaocheng/jzjc/wzyy/88990
参考:https://www.howtoing.com/installing-powerdns-with-mysql-backend-and-poweradmin-on-ubuntu-8.10/

参考:https://blog.csdn.net/jiangsd198/article/details/60780187

参考:https://linux.cn/article-5623-1.html
参考:https://linux.cn/article-5623-2.html
参考:https://linux.cn/article-5623-3.html

参考:https://itw01.com/VHT4EPO.html
参考:https://itw01.com/V9AIEHT.html