
PowerDNS DNSdist 是由 PowerDNS.COM BV 及众多贡献者开发的 DNS 负载均衡器,采用 GNU GPLv2 许可证(详见 NOTICE 文件了解确切许可证及例外条款)。作为 PowerDNS 生态系统的重要组件,DNSdist 专注于提供高性能的 DNS 流量管理能力,支持复杂的负载均衡策略和流量控制。
所有官方文档可访问 [***] 获取。本文档信息可能存在滞后,建议通过 官方变更日志 查看最新更新。
PowerDNS 官方 Docker 镜像信息请参考 https://github.com/PowerDNS/pdns/blob/master/Docker-README.md%E3%80%82
依赖环境
编译 DNSdist 需要以下依赖:
编译步骤
获取源代码:
shgit clone https://github.com/PowerDNS/pdns.git cd pdns
初始化子模块:
shgit submodule init git submodule update
安装依赖(以 Ubuntu 18.04 为例):
shapt install autoconf automake ragel bison flex g++ libboost-all-dev libtool make pkg-config libssl-dev libluajit-5.1-dev
生成配置文件:
shautoreconf -vi
配置编译选项:
sh./configure --with-modules="" # 可根据需求添加模块
编译与安装:
shmake make install
详细配置指南请参考官方文档:DNSdist 配置
shgit clone https://github.com/PowerDNS/pdns.git
该仓库包含 PowerDNS 递归服务器、权威服务器及 DNSdist 的源代码,可通过 pdns-builder 工具(基于 Docker 的构建流程)构建不同版本:
sh./builder/build.sh # 查看构建帮助
gmake 而非系统默认 makeshexport CXXFLAGS=-std=c++17
brew install pdnsshbrew install boost lua pkg-config ragel openssl ./configure --with-modules="" PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig make -j4
无特殊要求,按常规编译流程即可。
如遇问题,请先在 https://github.com/PowerDNS/pdns/issues 中检查是否已有相关报告,再提交新 issue。






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