
PowerDNS Authoritative Server是由PowerDNS.COM BV及众多贡献者开发的开源DNS权威服务器,采用GNU GPLv2许可协议(详见NOTICE文件了解确切许可及例外条款)。该服务器用于管理域名解析记录并响应DNS查询请求,支持多种后端存储,适用于构建企业级或互联网级的可靠域名解析服务。所有官方文档可访问[***]
通过Git克隆官方仓库获取源代码:
shgit clone https://github.com/PowerDNS/pdns.git
仓库包含PowerDNS Authoritative Server、Recursor(递归服务器)及dnsdist(DNS负载均衡器)的源代码,可分别编译。
Debian系统
安装基础编译依赖:
shapt install g++ libboost-all-dev libtool make pkg-config default-libmysqlclient-dev libssl-dev libluajit-5.1-dev python3-venv
从Git源码编译时,需额外安装:
shapt install autoconf automake ragel bison flex
Ubuntu系统
除Debian依赖外,根据功能需求安装扩展依赖:
sh# 基础依赖 apt install libcurl4-openssl-dev luajit lua-yaml-dev libyaml-cpp-dev libtolua-dev lua5.3 autoconf automake ragel bison flex g++ libboost-all-dev libtool make pkg-config libssl-dev lua-yaml-dev libyaml-cpp-dev libluajit-5.1-dev libcurl4 gawk libsqlite3-dev python3-venv # DNSSEC ed25519支持 apt install libsodium-dev # PostgreSQL后端支持 apt install libpq-dev # systemd服务支持 apt install libsystemd0 libsystemd-dev # GeoIP后端支持 apt install libmaxminddb-dev libmaxminddb0 libgeoip1 libgeoip-dev
FreeBSD系统
需使用gmake编译,并强制C++17标准:
shexport CXXFLAGS=-std=c++17
macOS系统
通过Homebrew安装依赖:
shbrew install boost lua pkg-config ragel openssl # PostgreSQL后端支持 brew install postgresql # MySQL后端支持 brew install mariadb
shautoreconf -vi
sh./configure --with-modules="" --disable-lua-records
sh./configure
sh./configure --with-modules="bind gmysql gpgsql"
注:添加特定后端模块时需提前安装对应开发依赖(如PostgreSQL后端需libpq-dev)。
shmake # 可选:安装到系统目录 make install
PowerDNS Docker镜像的详细使用说明(包括镜像拉取、运行配置等)请参考官方GitHub文档:https://github.com/PowerDNS/pdns/blob/master/Docker-README.md
如遇功能bug或使用问题,建议先在https://github.com/PowerDNS/pdns/issues%E4%B8%AD%E6%90%9C%E7%B4%A2%E6%98%AF%E5%90%A6%E5%B7%B2%E5%AD%98%E5%9C%A8%E7%9B%B8%E5%85%B3%E6%8A%A5%E5%91%8A%EF%BC%8C%E5%86%8D%E6%8F%90%E4%BA%A4%E6%96%B0issue%E3%80%82
完整后端模块列表及说明请查阅官方后端文档。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。


探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务