New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·DNS, network tools and remote access

dnsdist on a Swiss VPS encrypted DNS for a family or an NGO.

Setup, sizing, limits.

Runs here
  • Lua
  • Let's Encrypt
  • Debian

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Staging, devStarter · 2 vCPU · 2 GB RAM$6.99/mo80 GB NVMe · 10 TB transfer · 1 Gbps
  • 1 Gbps port10 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$6.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less

Deploy VPS Starter
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 2 vCPU, 2 GB RAM
  • 80 GB NVMe local storage
  • 10 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes, dnsdist runs comfortably on our smallest plan. A Cloud VPS Starter in ALP1 (2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB of monthly transfer on a 1 Gbps port, $6.99 a month) is more machine than a household or a small organisation will use, with Unbound on the same server doing the actual resolving. Deploy it with Debian 13, then install dnsdist 2.1 from the PowerDNS repository rather than the older version Debian ships.

What matters more than sizing is what you expose. Publish DNS over TLS on port 853 and DNS over HTTPS on port 443, and keep port 53 closed to the internet. A resolver that answers plain UDP from anyone is found by scanners within days and used to reflect traffic at third parties, which is the quickest way for a family project to become an abuse case.

02/06

What dnsdist is and who runs it.

dnsdist is an open-source DNS load balancer and policy engine maintained by PowerDNS, part of Open-Xchange. It does not resolve names itself. It accepts queries over UDP, TCP, DoT, DoH, DoQ and DoH3, applies rules such as rate limits or drops, keeps an optional packet cache, and forwards what is left to one or more backends. Large operators put it in front of resolver fleets. In self-hosting circles (r/selfhosted, r/pihole) it usually appears as the encrypted front door for a Pi-hole or an Unbound that only speaks plain DNS, which is the setup this page describes.

The versions matter here. When we checked on 5 November 2026, the supported release train was 2.1 (latest 2.1.3, released 12 October 2026), 2.0 was on critical fixes until 2 July 2027, and 1.9 had been end of life upstream since 21 July 2026. Debian 13 still ships 1.9, patched by Debian's security team (1.9.16-0+deb13u1 in August 2026), so it works but lacks the YAML configuration format that 2.x introduced. Since 2.1, dnsdist looks for dnsdist.yml before the old Lua dnsdist.conf, and incoming DoH is handled by nghttp2 alone, which means HTTP/2 only.

If all you want is ad blocking with a web interface, AdGuard Home or our private DoH server guide is less work and we would point you there. dnsdist earns its place when you want Unbound's validating recursion behind a front end whose every rule you wrote, or when an NGO needs per-client rate limits and room to add a second backend later.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.

03/06

Requirements and sizing.

ComponentWhat it needsOn VPS Starter
dnsdist 2.11 vCPU is plenty at household scale; TLS handshakes are the main cost2 vCPU
UnboundRAM for its caches; 192 MB with the settings below2 GB RAM in total
DiskPackages, certificates, a few config files80 GB NVMe
NetworkOne IPv4, a hostname, TCP 443 and 8531 IPv4 included, 1 Gbps
PortProtocolExposed?
853/tcpDNS over TLS (Android Private DNS uses this)Yes
443/tcpDNS over HTTPS (browsers, Windows 11, iOS profiles)Yes
80/tcpLet's Encrypt HTTP-01 renewalYes, or use DNS-01 instead
22/tcpSSHYes, ideally restricted
53/udp+tcpPlain DNSNo
127.0.0.1:5335Unbound, reached only by dnsdistLoopback only
853/udp, 443/udpDoQ, DoH3Not by default (see Limits)

dnsdist runs two threads per DoH bind and stays light otherwise; at household traffic the CPU barely registers. Memory is similarly modest. The dnsdist documentation estimates about a dozen bytes per pre-allocated cache entry and uses 512 bytes as an average response, so the 50,000-entry packet cache below would hold roughly 26 MB when full (theoretical). Unbound's two caches are capped at 192 MB by the settings below, plus its own overhead.

Transfer is not a constraint. As a deliberately generous theoretical case, take a household sending 100,000 queries a day at 1 KB each on the wire, TLS and TCP overhead included: that is about 3 GB a month, and doubling it for Unbound's own lookups gives 6 GB, or 0.06% of the 10 TB included. An NGO of 200 people at 20,000 queries each per day comes to about 240 GB a month on the same assumptions, still under 3%.

Reachability is the part that is genuinely harder elsewhere. Networks that block encrypted DNS mostly do it by name and address, blocking the well-known public resolvers, and a resolver on your own hostname and your own IPv4 is not on those lists unless you publish it. Port 853 is sometimes filtered on hotel and corporate Wi-Fi; port 443 almost never is, which is why we serve both. Latency from ALP1 is short for European users (the network map on our home page estimates about 2 ms to Zurich and 6 ms to Frankfurt, from distance); for a family in Asia, host the resolver in Asia.

04/06

How to deploy it with us.

  1. 01

    1. Order the server and give it a name

    Order through the deploy link, which preselects Starter and Debian 13. Opening an account takes an email address and a password, and you pay from a balance topped up in Monero, Bitcoin, USDT, Ethereum, Litecoin or another coin; no-KYC hosting explains what we hold and what we do not. Once the VPS is up, create an A record such as dns.example.org pointing to its IPv4.

  2. 02

    2. Unbound as the backend

    sh
    apt update && apt install -y unbound bind9-dnsutils curl certbot
    example
    # /etc/unbound/unbound.conf.d/dnsdist-backend.conf server: interface: 127.0.0.1 port: 5335 access-control: 127.0.0.0/8 allow qname-minimisation: yes prefetch: yes msg-cache-size: 64m rrset-cache-size: 128m

    Port 5335 is the one the Pi-hole documentation uses for Unbound, so an existing Pi-hole can later sit between dnsdist and Unbound without renumbering anything. Debian's package validates DNSSEC out of the box, and QNAME minimisation is already Unbound's default; the line is there so the next person to read the file knows it is on. Run systemctl restart unbound, then dig @127.0.0.1 -p 5335 example.org. Run apt update once more afterwards as well, to confirm the VPS's own resolver configuration did not try to follow Unbound off port 53.

  3. 03

    3. dnsdist 2.1 from the PowerDNS repository

    sh
    install -d /etc/apt/keyrings curl -o /etc/apt/keyrings/dnsdist-21-pub.asc https://repo.powerdns.com/FD380FBB-pub.asc echo 'deb [signed-by=/etc/apt/keyrings/dnsdist-21-pub.asc] http://repo.powerdns.com/debian trixie-dnsdist-21 main' \ > /etc/apt/sources.list.d/pdns.list printf 'Package: dnsdist*\nPin: origin repo.powerdns.com\nPin-Priority: 600\n' \ > /etc/apt/preferences.d/dnsdist-21 apt update && apt install -y dnsdist dnsdist --version # should report 2.1.x with yaml support
  4. 04

    4. A certificate dnsdist can read

    dnsdist does not run as root, while certbot writes keys that only root can read. The documented answer is to copy the files into /etc/dnsdist from a deploy hook. Save this as /usr/local/sbin/dnsdist-cert-hook and make it executable:

    sh
    #!/bin/sh set -e G=_dnsdist # confirm with: systemctl cat dnsdist | grep -E '^(User|Group)=' install -d -m 0750 -o root -g "$G" /etc/dnsdist/tls install -m 0640 -o root -g "$G" "$RENEWED_LINEAGE/fullchain.pem" "$RENEWED_LINEAGE/privkey.pem" /etc/dnsdist/tls/ systemctl restart dnsdist
    sh
    certbot certonly --standalone -d dns.example.org --deploy-hook /usr/local/sbin/dnsdist-cert-hook

    A restart every couple of months drops open TLS sessions for a second; clients reconnect on their own.

  5. 05

    5. The configuration

    yaml
    # /etc/dnsdist/dnsdist.yml (dnsdist 2.1) acl: - "0.0.0.0/0" # safe only because no plain port-53 bind exists below binds: - listen_address: "0.0.0.0:853" protocol: "DoT" tls: certificates: - certificate: "/etc/dnsdist/tls/fullchain.pem" key: "/etc/dnsdist/tls/privkey.pem" - listen_address: "0.0.0.0:443" protocol: "DoH" doh: paths: - "/q-REPLACE-WITH-32-RANDOM-CHARACTERS" tls: certificates: - certificate: "/etc/dnsdist/tls/fullchain.pem" key: "/etc/dnsdist/tls/privkey.pem" backends: - address: "127.0.0.1:5335" protocol: "Do53" packet_caches: - name: "pc" size: 50000 pools: - name: "" packet_cache: "pc" query_rules: - name: "DoT without our hostname" selector: type: "And" selectors: - type: "IncomingProtocol" protocol: "DoT" - type: "Not" selector: type: "SNI" server_name: "dns.example.org" action: type: "Drop" - name: "Per-IP rate limit" selector: type: "MaxQPSIP" qps: 50 burst: 200 action: type: "Drop"

    The default ACL only admits loopback and private ranges, so for phones on mobile networks it has to be opened, and the configuration compensates in three ways. The DoH path works as a shared secret: requests to any other path are refused, and paths never appear in certificate logs. The SNI rule drops DoT connections made by IP address, which is how most scanners arrive. It is weaker than it looks, because every hostname you obtain a certificate for is published in Certificate Transparency logs within minutes; only a wildcard certificate issued over DNS-01 keeps the exact label out of them. The rate limit is the control that actually protects you. Remember that a household behind one router shares a single IPv4, so 50 queries a second covers the whole family, not each device. Check the file with dnsdist --check-config, then systemctl restart dnsdist.

  6. 06

    6. Firewall, test, devices

    On the server, allow 22, 80, 443 and 853/tcp inbound with nftables or ufw, and nothing else. From your own computer, dig +tls @dns.example.org example.org tests DoT and dig +https=/q-… @dns.example.org example.org tests DoH. On Android 9 or later, set Private DNS to the hostname. On iOS and macOS, install an encrypted-DNS configuration profile; on Windows 11, in Firefox and in Chrome, enter the full DoH URL with its path.

  7. 07

    Docker

    We recommend the packages for this one. The official image (powerdns/dnsdist-21) reads Lua files from /etc/dnsdist/conf.d, its newest tag on Docker Hub when we checked was 2.1.2, one release behind the packages, and on a bridge network the container cannot reach an Unbound bound to the host's loopback without extra plumbing.

05/06

What it costs.

ItemPrice
Cloud VPS Starter, monthly$6.99
Cloud VPS Starter, yearly$62.99 (about $5.25 a month)
Daily backups, optional (+20 %)$8.39 a month in total (theoretical rounding)
Extra IPv4, optional$2 a month

The plan includes 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB of transfer a month at 1 Gbps, one IPv4, full root and the network-level DDoS protection that comes with every plan. VPS traffic is metered against that 10 TB, unlike our dedicated servers. We would skip the backup option: the whole server is two text files and a hook script, which belong in your own notes or a git repository. The extra IPv4 is worth it only if you want a website on port 443 of the same machine, since dnsdist now speaks HTTP/2 only and putting nginx in front of it needs a grpc_pass workaround. As a theoretical example, the minimum $25 top-up covers three months; a $50 top-up earns the 5% bonus, giving $52.50, or seven months. The unused paid part of a top-up is refundable within 14 days. All plans are on the pricing page and the Cloud VPS page.

06/06

Limits and acceptable use.

Our acceptable use policy lists attacks on other networks among its hard limits, and an open UDP resolver is how a well-meant family server ends up reflecting floods at someone else. If you need plain DNS for a home router, restrict it to that router's address in a separate firewall rule, or carry it inside WireGuard instead. Answering other people's queries with forged records, for phishing or to hijack domains you do not control, is not allowed either.

Patching is yours: we do not manage the software inside a VPS. dnsdist published several security advisories in 2026, one of them (CVE-2026-24029) a DoH ACL bypass when early ACL checking is switched off, and several (CVE-2026-24030, CVE-2026-33254 and CVE-2026-40211 among them) about memory exhaustion in DoQ and DoH3. DoQ and DoH3 are off unless you configure them, and on a 2 GB server we would leave them off. Add the PowerDNS repository to unattended-upgrades' allowed origins, or follow the dnsdist announcements and upgrade by hand.

On data protection, if your NGO runs the resolver for its staff, the NGO is responsible for those query records under the revised Swiss Federal Act on Data Protection, in force since 1 September 2023. Neither program writes queries to disk by default: Unbound does not log them at its default verbosity, and dnsdist keeps recent queries only in an in-memory ring buffer (10,000 by default, according to its maintainers), readable from its console. Our side of the wire sees TLS on ports 443 and 853, not the names. Unbound's own lookups towards authoritative servers travel unencrypted, as all recursion does today; QNAME minimisation limits what each server learns. The European Commission reconfirmed on 15 January 2024 that Switzerland's level of protection is adequate, so EU organisations need no extra transfer safeguards to host here. We act on decisions of competent Swiss authorities, and as of 31 October 2026 the US had CLOUD Act executive agreements only with the United Kingdom and Australia; our offshore hosting page covers the procedure without promising more than it is.

ALP1 is one site. Our 99.9% uptime SLA allows, in theory, about 43 minutes of downtime in a 30-day month, and Android's Private DNS fails closed: if the hostname is unreachable, the phone resolves nothing until you switch the setting off. Families should know where that switch is.

Catalogue·Options

Every configuration, every option, every price.

Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
ProProduction68 GB320 GB20 TB / month1 Gbps$22.99/moDeploy Pro
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy Summit

Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.

Every plan

  • AMD EPYCon every host
  • Local NVMenot network storage
  • DDoS protectionalways on
  • 1 IPv4 addressmore at $2 each
  • VNC consoleand full root access

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Does dnsdist resolve DNS names by itself?

No. dnsdist receives, filters, caches and forwards queries; something else has to resolve them. On this page that is Unbound on the same VPS, listening on 127.0.0.1:5335. You can also point dnsdist at an upstream DoT or DoH resolver, but then that provider sees every query, which defeats much of the point.

dnsdist, AdGuard Home or Technitium: which should I run?

For a household that wants ad blocking and a web interface, AdGuard Home or Technitium is simpler and serves DoT and DoH by itself. dnsdist is the better choice when you want precise control over who may query and at what rate, a validating Unbound behind it, or several backends, for example a filtered pool for children's devices and an unfiltered one for adults.

Can I use the dnsdist package that comes with Debian 13?

It works, and Debian keeps patching it (1.9.16-0+deb13u1 in August 2026), but upstream support for 1.9 ended on 21 July 2026 and the YAML configuration shown here needs 2.x. We recommend the trixie-dnsdist-21 repository from PowerDNS.

What happens to my family's DNS if the VPS goes down?

Devices set to strict encrypted DNS, such as Android with a Private DNS hostname, stop resolving until the server is back or the setting is switched off. Browsers configured for DoH usually fall back to the network's resolver unless set to a strict mode. Our SLA is a 99.9% commitment, not a measurement; if DNS is critical, keep a second resolver with another provider and know how to switch.

Do you see or keep my DNS queries?

Traffic between your devices and the VPS is encrypted, so the network sees TLS connections to ports 443 and 853, not the names. What the VPS keeps is set by your configuration: by default dnsdist holds recent queries in memory only and Unbound does not log them. If you turn on query logging, you become responsible for those records under Swiss data protection law.

Can I keep port 53 open for my home router?

Only for a fixed address. Restrict port 53 to your router's public IPv4 in a separate firewall rule and add that address to the dnsdist ACL. With a dynamic home address that becomes fragile, and running the router's DNS through a WireGuard tunnel to the VPS is the cleaner option.

Sources

Every fact on this page, with its source

Checked 31 Oct 2026 unless noted.

Swiss law and authorities

Industry, providers and software

ALP1·Swiss Alps

Your server in the Alps, ready when you are.

Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.