PatchviaPatchvia
FeaturesConsoleDNSSECInstallSelf-hostFAQ
v0.1.0Get started
Home/Self-hosting

Self-hosting

Run your own authoritative DNS with Docker Compose.

The DNS server and the console ship as two container images, configured through a single environment file. You need Docker, a host with port 53 available, and a few minutes.

Start it

Download the compose file and the environment template, set an admin password of at least 10 characters and a session secret of at least 32 characters, then pull the published images and start both services. The console is then at port 3000, and you sign in as admin.

bash
1$ mkdir patchvia && cd patchvia2$ curl -fsSLO https://raw.githubusercontent.com/patchvia/patchvia/main/deploy/docker-compose.yml3$ curl -fsSL -o .env https://raw.githubusercontent.com/patchvia/patchvia/main/deploy/.env.example4$ nano .env                # set ADMIN_PASSWORD and SESSION_SECRET5$ docker compose pull6$ docker compose up -d --no-build

Ports

DNS is served on port 53, over UDP and TCP. The API listens on port 8081 and is bound to localhost by default, because the console and automation use it and it should not be exposed without TLS.

  • DNS: port 53, UDP and TCP
  • API: port 8081, bound to 127.0.0.1 unless you set API_BIND
  • Console: port 3000

Port 53 on Ubuntu

On many Ubuntu servers systemd-resolved already listens on port 53. The deployment guide explains how to free the port, which firewall rules to add, and how to undo the change.

Data and backups

All state is in one database file on a Docker volume. The database holds DNSSEC private keys and password hashes, so back it up and protect it like a secret.

Build or pull

Build the images from a checkout for development, or pull the published images on a server. The pulled images are chosen by registry and tag in the environment file.

Keep reading

Features

Patchvia DNS features: authoritative records, zones, DNSSEC signing, AXFR and IXFR transfers, dynamic DNS, clustering, accounts and API keys, in one server with a web console.

→

Clustering

Run several authoritative nameservers that keep each other in sync. Patchvia DNS clustering uses a shared secret, per-node databases and a cluster health page.

→

DNSSEC

DNSSEC signing with Patchvia DNS: online signing as answers are served, key rollover from the console, and DS records for your registrar.

→

Questions before you install?

Read the frequently asked questions, or go straight to the features list.

Install with DockerBack to home
PatchviaPatchvia

DNS infrastructure, simplified.

Product

  • Features
  • Console
  • DNSSEC
  • Dynamic DNS
  • Clustering
  • Install
  • Self-hosting
  • FAQ

Product updates, when there is something to try.

We will email you about new releases and changes to Patchvia DNS, and nothing else. You can unsubscribe in any message.

Patchvia DNS is sponsored by Floms. Your address is used only for these updates. See the privacy policy.

Sponsored byFlomsFloms

© 2026 Patchvia

GitHubLicensePrivacyContact