安装: https://amon.org/powerdns-install
【介绍】
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
【后端】
文档:https://doc.powerdns.com/authoritative/
【前端】
前端:Poweradmin
语言:PHP
源码:https://github.com/ngoduykhanh/PowerDNS-Admin
版本:持续开发
源码:https://github.com/ivanfilippov/PowerDNS-Admin
版本:5年前
源码:https://sourceforge.net/projects/poweradmin/files/latest/download?source=directory
版本:2.1.7
日期:2014-06-10
PowerAdmin是一款为PowerDNS开发的网页端控制面板。
支持所有的解析类型:主、native、从;支持IPv6;支持多语言等。
前端:freshdns
源码:https://github.com/funzoneq/freshdns
前端:DNSShop
语言:PHP
源码:https://github.com/tools4isp/dnsshop
前端:nsedit
语言:PHP + sqlite
源码:https://github.com/tuxis-ie/nsedit
It is created to finally replace poweradmin and take DNS editing to what we’re used at in 2014. It uses the PowerDNS API to make changes in your zones, so you can use the backend that you want, no matter what.
前端:pdnsmgr
源码:https://github.com/ghodder/pdnsmgr
前端:powerdns-php
源码:https://github.com/exonet/powerdns-php
前端:Yet Another PowerDNS web interface
语言:NodeJS
源码:https://github.com/xbgmsharp/yapdnsui
其他:https://github.com/gnotaras/django-powerdns-manager
前端:MoeDNS
语言:NodeJS
源码:https://github.com/phoenixlzx/moedns
【证书】
程序:PowerDNS cert-manager ACME webhook
源码:https://github.com/zachomedia/cert-manager-webhook-pdns
其他:https://github.com/aescanero/helm-charts
程序:certbot-dns-powerdns
源码:https://github.com/pan-net-security/certbot-dns-powerdns
【介绍】
参考:https://blog.csdn.net/weixin_30500289/article/details/97696762
参考:http://www.manongjc.com/detail/8-ildrqgoapeffktn.html
【部署(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
【对标】
实现WHOIS服务器的开源代码有几种选择,具体取决于你的需求(如性能、易用性、支持的数据库后端等)。以下是几个流行的开源项目:
GNU Whois:这是一个广泛使用的WHOIS服务器实现,特别适用于处理一般的域名查询。它支持多种数据源,并且可以配置为适应不同的注册局要求。
Perl Whois Server (pwhois):如果你更倾向于使用Perl语言,那么pwhois是一个不错的选择。它易于定制,并且能够很好地处理大量的查询请求。
Ruby Whois:对于偏好Ruby语言的开发者来说,Ruby Whois提供了一个灵活的框架来构建和管理WHOIS查询。它不仅限于域名查询,还可以扩展以支持其他类型的记录。
PowerDNS WHOIS Server:PowerDNS提供了广泛的DNS解决方案,其中包括一个WHOIS服务器组件。这个选项适合已经在使用PowerDNS其他服务的组织。
JWhois:这是一个GNU项目的部分,主要用于客户端查询,但它也提供了服务器端的支持,允许用户搭建自己的WHOIS服务器。
选择哪种实现方式很大程度上取决于你现有的技术栈和个人偏好。无论选择哪一个,都应确保其能够满足注册局对数据展示、隐私保护等方面的要求。在部署之前,仔细阅读相关文档并进行充分测试是非常重要的。