Overview

Full name
docker.io/powerdns/pdns-auth-47
Registry
docker.io
Namespace
powerdns
Repository
pdns-auth-47
Cached tags
10
Last synced
07/06/2026, 09:22 AM

Introduction

PowerDNS Authoritative Server 4.7 镜像,高性能权威 DNS,支持 REST API 与多种后端,适合自建域名解析服务。

Details

powerdns/pdns-auth-47 运行 PowerDNS 权威解析,可接 PostgreSQL/LMDB backend。典型用于内网 zone 或 public DNS hosting,定位为 DNS 权威服务,需 53 UDP/TCP;K8s Deployment + hostNetwork 或 LoadBalancer。

快速启动

docker run -d --name pdns-auth \
  -p 53:53/udp -p 53:53/tcp \
  -e PDNS_GPGSQL_HOST=postgres \
  docker.io/powerdns/pdns-auth-47:latest

推荐实践

docker run -d --name pdns-auth \
  --restart unless-stopped \
  -p 53:53/udp -p 53:53/tcp -p 8081:8081 \
  -e PDNS_GPGSQL_HOST=postgres.internal \
  -v /opt/pdns:/etc/powerdns \
  docker.io/powerdns/pdns-auth-47:4.7.0

核心参数说明

  • -p 53:53/udp — DNS 查询端口
  • -p 8081:8081 — REST API(可选)
  • -e PDNS_GPGSQL_HOST — PostgreSQL backend
  • 固定 tag — PowerDNS 4.7 pin

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: pdns-auth
spec:
  replicas: 2
  selector:
    matchLabels:
      app: pdns-auth
  template:
    metadata:
      labels:
        app: pdns-auth
    spec:
      containers:
        - name: pdns
          image: docker.io/powerdns/pdns-auth-47:4.7.0
          ports:
            - containerPort: 53
              protocol: UDP
          envFrom:
            - secretRef:
                name: pdns-secrets
---
apiVersion: v1
kind: Service
metadata:
  name: pdns-auth
spec:
  type: LoadBalancer
  selector:
    app: pdns-auth
  ports:
    - port: 53
      protocol: UDP
      targetPort: 53

53 端口 LB;PostgreSQL 存 zone 数据。

Latest tags (20)

View all 10 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/powerdns/pdns-auth-47
:4.7.5
linux/amd64linux/arm64
2025/02/07 01:1177.0 MBsha256:16062e8badc3
docker.io/powerdns/pdns-auth-47
:latest
linux/amd64linux/arm64
2025/02/07 01:1177.0 MBsha256:16062e8badc3
docker.io/powerdns/pdns-auth-47
:4.7.4
linux/amd64
2023/10/18 17:4678.2 MBsha256:60b2ad1ad737
docker.io/powerdns/pdns-auth-47
:4.7.3
linux/amd64
2022/12/09 18:4378.1 MBsha256:af3f9a8b689b
docker.io/powerdns/pdns-auth-47
:4.7.2
linux/amd64
2022/11/02 16:3279.1 MBsha256:424c4a2b09ba
docker.io/powerdns/pdns-auth-47
:4.7.1
linux/amd64
2022/10/31 23:0678.1 MBsha256:9f5b81028731
docker.io/powerdns/pdns-auth-47
:4.7.0
linux/amd64
2022/10/19 22:3879.1 MBsha256:7a2074fbc5d1
docker.io/powerdns/pdns-auth-47
:4.7.0-rc1
linux/amd64
2022/10/03 21:1479.1 MBsha256:0471b3b378dd
docker.io/powerdns/pdns-auth-47
:4.7.0-beta2
linux/amd64
2022/09/13 17:5374.5 MBsha256:cd0a3fc815f8
docker.io/powerdns/pdns-auth-47
:4.7.0-alpha1
linux/amd64
2022/04/05 01:5474.3 MBsha256:23b8b62a4538