Self-hosted app·DNS, network tools and remote access
Unbound on a Swiss VPS your own validating DNS resolver.
Unbound VPS in the Swiss Alps: a validating recursive DNS resolver for your family or NGO. Sizing, setup, limits and real costs.
- Debian
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less
- 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, and on the smallest plan we sell. Unbound runs on Cloud VPS Starter (2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB of monthly transfer, $6.99 a month) with Debian 13, in our ALP1 site in the Swiss Alps, and it will use a small fraction of that machine. What decides whether the setup is sound is exposure, not sizing. Unbound must answer your own devices only, through a WireGuard tunnel or DNS-over-TLS, and never on port 53 of the public address: open recursive resolvers are scanned for continuously and used to reflect amplified traffic at DDoS victims, and that is the one way this small, quiet service turns into an abuse case.
02/06
What Unbound is and who runs it.
Unbound is a validating, recursive, caching DNS resolver, developed primarily by the Dutch non-profit NLnet Labs and released under a BSD licence. Recursive means it does not forward your questions to Google, Cloudflare or your ISP: it asks the root servers, then the TLD servers, then the domain's own name servers, and caches what it learns. Validating means it checks DNSSEC signatures and answers SERVFAIL when they fail. The current release is 1.26.2, published on 21 October 2026 with fixes for five CVEs; Debian accepted it into trixie-security two days later, so a Debian 13 server receives it through ordinary security updates.
Judging by r/pihole and r/selfhosted, the people who put it on a VPS fall into two groups. Pi-hole owners want recursion without the home ISP in the path, and the same filtered, validated resolver on their phones when they are out. Small organisations — a Geneva NGO whose staff work from hotels and field offices, a family spread over two countries — want one resolver they control instead of a complete query history sitting with a single large operator.
Be clear about what you gain. If every device you care about stays at home and your ISP leaves DNS alone, run Unbound on the Pi-hole box itself; the Pi-hole documentation covers exactly that, and it costs nothing. A VPS earns its fee when devices leave the house, or when the home line interferes: the Pi-hole guide now opens with a test for ISPs and routers that silently redirect port 53, and for CG-NAT gateways that pass UDP DNS but drop TCP, because recursion breaks in confusing ways behind them. What you do not gain is secrecy towards the wider internet. Unbound's queries to authoritative servers travel unencrypted, as every recursive resolver's do. QNAME minimisation, on by default, limits each server to the labels it needs, but all queries leave from one address, and that address is yours.
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.
Out of the box Unbound runs one thread with 4 MB each for its message and RRset caches. A household or an office of thirty people stays far inside one vCPU; the second core on Cloud VPS Starter is where WireGuard, or a Pi-hole instance if you want one on the same machine, can live. We raise the caches to 32 MB and 64 MB, which 2 GB of RAM absorbs without noticing. Disk use is the package plus, if you enable it, a log file.
VPS transfer is metered against the included 10 TB, so here is the arithmetic, which is theoretical: 30,000 client queries a day at about 1 KB each, once you count upstream recursion on cache misses and tunnel overhead, comes to roughly 0.9 GB a month. Ten times that is still under a thousandth of the allowance.
| Port | Protocol | Role | Exposure |
|---|---|---|---|
| 53 | UDP + TCP | DNS for your clients | 127.0.0.1 and the WireGuard address only |
| 53 (outbound) | UDP + TCP | Recursion to root, TLD and authoritative servers | Must reach any server |
| 51820 | UDP | WireGuard | Public |
| 853 | TCP | DNS-over-TLS (optional) | Public, only if you choose DoT |
| 22 | TCP | SSH | Public, key-only |
Outbound TCP on port 53 is not optional: large DNSSEC responses and retries depend on it.
04/06
How to deploy it with us.
Order a Debian 13 Cloud VPS Starter from the deploy link. We take crypto only, and no-KYC: an email address is enough. Update the system and check where the package comes from before installing:
apt update && apt full-upgrade -y
apt policy unbound # candidate on 3 Nov 2026: 1.26.2-0+deb13u1 from trixie-security
apt install -y unbound wireguard bind9-dnsutils nftablesStay on Debian 13: on 3 November 2026 the Debian tracker lists 48 open security issues for unbound in Debian 12. We also leave Docker out. The Unbound images on Docker Hub are community builds rather than NLnet Labs releases, and on a single-purpose VM a container adds one more update channel to watch while giving you nothing the Debian package lacks.
Set up WireGuard first (our guide to VPN servers has the full walk-through), with the server on 10.8.0.1/24 and UDP 51820. In each phone or laptop config, two lines matter here: DNS = 10.8.0.1 and AllowedIPs = 10.8.0.1/32. Only DNS then goes through the tunnel, and the rest of the device's traffic leaves as before. A Pi-hole at home joins as one more peer, with 10.8.0.1#53 as its only upstream.
Debian already enables DNSSEC validation through root-auto-trust-anchor-file.conf, so the resolver file only adds listening addresses, access rules and some hardening:
# /etc/unbound/unbound.conf.d/private.conf
server:
interface: 127.0.0.1
interface: 10.8.0.1
ip-freebind: yes # bind 10.8.0.1 even if wg0 comes up after unbound
access-control: 10.8.0.0/24 allow
# anything not listed is refused; never add 0.0.0.0/0 here
hide-identity: yes
hide-version: yes
prefetch: yes
msg-cache-size: 32m
rrset-cache-size: 64m
private-address: 10.0.0.0/8 # DNS-rebinding protection
private-address: 172.16.0.0/12
private-address: 192.168.0.0/16
private-address: 169.254.0.0/16
private-address: fd00::/8
private-address: fe80::/10unbound-checkconf && systemctl restart unbound
dig fail01.dnssec.works @127.0.0.1 # expect SERVFAIL
dig +ad dnssec.works @127.0.0.1 # expect NOERROR and the "ad" flagLeave DNS-over-QUIC, DNSCrypt and DoH unconfigured unless you have a reason for them. Nine of the 48 entries on that Debian 12 list concern those code paths, and a family resolver uses none of them.
If Android's Private DNS setting suits your users better than a WireGuard app, add DNS-over-TLS. Android has offered it since version 9: you enter a hostname and it sends every query over TLS on port 853. Point a name such as dns.example.org at the VPS, obtain a certificate with certbot (open TCP 80 while it runs, or use a DNS challenge), copy the files to /etc/unbound/tls/ owned root:unbound, mode 640, and add:
server:
interface: <your-ipv4>@853
interface-action: <your-ipv4>@853 allow
tls-service-key: "/etc/unbound/tls/privkey.pem"
tls-service-pem: "/etc/unbound/tls/fullchain.pem"Debian confines Unbound with AppArmor, which is why the key goes under /etc/unbound; a renewal hook that copies the files and runs unbound-control reload keeps it current. A TLS listener cannot be used for spoofed-source reflection, since the TCP handshake needs a real sender, but anyone who learns the hostname can query it, so look at unbound-control stats_noreset now and then.
Finish with a firewall that drops what you did not ask for, then confirm from an outside machine that dig @<your-ipv4> example.org times out:
# /etc/nftables.conf — then: systemctl enable --now nftables
flush ruleset
table inet filter {
chain input {
type filter hook input priority 0; policy drop;
ct state established,related accept
iif lo accept
meta l4proto { icmp, ipv6-icmp } accept
tcp dport 22 accept
udp dport 51820 accept
iifname "wg0" meta l4proto { tcp, udp } th dport 53 accept
# tcp dport 853 accept # only with DoT
}
}Keep your SSH session open while you load it.
05/06
Cost.
| Item | Price |
|---|---|
| Cloud VPS Starter, monthly | $6.99 |
| With daily backups (+20 %) | $8.39 / month |
| Yearly billing (≈ −25 %), theoretical | $62.99 / year, about $5.25 / month |
That price covers 2 vCPU, 2 GB RAM, 80 GB NVMe, a 1 Gbps port and 10 TB of monthly transfer, plus open outbound port 25, which this use case will never touch. Payment is in crypto (Monero, Bitcoin, Tether, Ethereum, Litecoin and other coins) against a balance kept in US dollars. Top-ups start at $25, enough for three months of Cloud VPS Starter; from $50 we add a 5 % bonus, so $50 becomes $52.50 of credit, theoretically seven and a half months. The unused paid part of a top-up is refundable within 14 days. The full grid is on our pricing page.
We would skip the backup option here. The whole configuration is three short files; keep copies in a git repository or your password manager and a rebuild is a matter of reinstalling the packages.
06/06
Limits and acceptable use.
Running a recursive resolver for yourself, your family, your staff or your members is fine. Running one that answers the internet on UDP or TCP port 53 is not. Questions about this go through a support ticket in the client panel.
If you turn on query logging for an organisation, the log identifies people by their devices and is personal data under the revised Federal Act on Data Protection, in force since 1 September 2023. You are the one processing it, so keep log-queries at Unbound's default of off, or rotate the log short. For an NGO based in the EU, the Commission's review of 15 January 2024 confirmed Switzerland's adequacy decision, so that data may sit in ALP1 without additional transfer safeguards.
On jurisdiction, precision serves you better than hope. We are Hosta AG, a Swiss société anonyme in Riehen, and the VM sits in Switzerland under Swiss law. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements with the United Kingdom and Australia only, none with Switzerland. The revision of the Swiss surveillance ordinance (VÜPF/OSCPT) put to consultation in January 2025 is not in force, and the Federal Council has announced a second consultation. Our offshore hosting page covers the rest. None of this alters the technical point made earlier: most of the privacy of a self-hosted resolver comes from its architecture, not from the address on the contract.
There are two honest downsides. Every cache miss now starts in Switzerland, which costs little from most of Europe and noticeably more from other continents; the Pi-hole guide warns that the first lookup in an unfamiliar TLD can take up to a second. And because Unbound sends no EDNS Client Subnet unless you load the subnetcache module, CDNs see a Swiss address and may hand users far from Switzerland a central-European edge.
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.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy 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
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can friends use my resolver too?
Not on public port 53. Add them as WireGuard peers, or give them the DoT hostname; neither can be abused with spoofed source addresses. Tell them their queries now pass through a machine you administer, because that is the trade they are making.
Will it be slower than 1.1.1.1?
On a cold cache, yes, since the large public resolvers already hold the popular names. After a few days your cache holds what your users actually visit, and prefetch: yes refreshes busy entries before they expire.
Does Unbound block ads or trackers?
Not by default. It can refuse names through local-zone entries or response policy zones, but most people pair it with Pi-hole or AdGuard Home and let those manage the lists.
Who can see my queries?
Between your devices and the VPS they are encrypted, by WireGuard or TLS. Between the VPS and authoritative servers they are plain DNS, minimised but readable on the path. Per-query logging in Unbound is off unless you set log-queries: yes. The VM runs on our hardware, so treat it like any server you do not physically hold.
Do I have to show ID to order?
No. No-KYC: an email address is enough, and payment is in crypto from a $25 top-up.
Sources
Every fact on this page, with its source
Accessed 3 Nov 2026 unless noted.
Swiss law and authorities
- Fedlex, Federal Act on Data Protection (RS 235.1), in force since 1 Sep 2023fedlex.admin.ch
- Swiss Federal Council, status of the VÜPF/OSCPT revision and announced second consultationadmin.ch · verified 31 Oct 2026
EU and other countries
- European Commission, adequacy decisions — review of 15 Jan 2024 confirming Switzerland (decision 2000/518/EC)commission.europa.eu
- US Department of Justice, CLOUD Act resources — executive agreements with the UK and Australia onlyjustice.gov · verified 31 Oct 2026
Industry, providers and software
- NLnet Labs, Unbound 1.26.2 release notes (GitHub), published 21 Oct 2026 — release date and CVE fixesgithub.com
- NLnet Labs, Unbound source repository, BSD licencegithub.com
- Debian Package Tracker, unbound — 1.26.2-0+deb13u1 accepted into stable-security on 23 Oct 2026; 48 open security issues in bookwormtracker.debian.org
Other references
- NLnet Labs, unbound.conf(5), Unbound 1.26.2 documentation — defaults for threads, caches, access-control, interface-action, ip-freebind, qname-minimisation, log-queries, TLS service options, module-config and the subnetcache moduleunbound.docs.nlnetlabs.nl
- Pi-hole documentation, "unbound" guide (page dated 12 Sep 2026) — root-server interception and TCP tests, DNSSEC test names, first-lookup latencydocs.pi-hole.net
- Android Developers Blog, "DNS over TLS support in Android P Developer Preview", 13 Apr 2018android-developers.googleblog.com
- CISA (US-CERT), Alert TA13-088A "DNS Amplification Attacks", archived, last revised 22 Jul 2013cisa.gov
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.
