Self-hosted app·DNS, network tools and remote access
Secondary DNS hosting offshore a Swiss nameserver in ALP1.
Secondary DNS hosting offshore: run Knot DNS as a TSIG-signed secondary on a $6.99 Swiss VPS in ALP1, paired with a nameserver in another jurisdiction.
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/07
Short answer.
Yes. A secondary nameserver for a domain portfolio runs comfortably on our VPS Starter (2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB of monthly transfer, $6.99 a month) in ALP1, our site in the Swiss Alps, operated by Hosta AG under Swiss law. You install Knot DNS on Debian 13, pull your zones from your primary over TSIG-signed transfers, and add the server to your NS set. The plan is the easy part. What matters is that this server is one of at least two secondaries that share neither a network nor a jurisdiction: a single VPS in Switzerland takes one nameserver out of the usual US-centred set, but on its own it is not redundancy.
02/07
What a secondary does, and who runs one.
An authoritative secondary keeps a copy of a zone and answers for it exactly as the primary would. The primary sends a NOTIFY when the zone changes (RFC 1996); the secondary compares SOA serials and pulls the difference by IXFR (RFC 1995) or the whole zone by AXFR (RFC 5936). TSIG (RFC 8945) signs those transfers with a shared secret, so neither side has to trust a source address. Resolvers see no hierarchy at all. Every server in the NS set is equal, and queries are spread across them.
The people who run their own secondaries are mostly registrars and resellers with a few hundred to a few thousand zones, agencies holding client domains, and operators who keep a hidden primary — a signer that is not listed in NS and takes no public queries — and publish only through secondaries (our guide to an authoritative DNS server with Technitium). For this job we recommend Knot DNS, written by CZ.NIC, the .cz registry. It is authoritative-only, so it cannot be misconfigured into an open resolver, and Debian 13 packages version 3.4.6. NSD from NLnet Labs is an equally sound choice. BIND 9 works as well, but it is also a resolver, and keeping its recursion locked down becomes one more thing to get right.
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/07
Why offshore, and what it does not fix.
RFC 2182, the best current practice on secondaries, asks for servers placed in topologically and geographically dispersed locations so that one failure cannot disable them all. The attack on Dyn on 21 October 2016 is the standard illustration: a DDoS against a single managed DNS provider made Twitter, Spotify, Reddit and others unreachable for hours while their own servers kept running.
The same reasoning applies to law. Many portfolios end up with every nameserver at one or two large managed-DNS companies, nearly all of them headquartered in the United States, and a single account decision or court order can then reach the whole NS set at once. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland or Panama (our answer on US court orders). A secondary run by a Swiss société anonyme in ALP1, paired with a second one in Panama, keeps copies of your zones under two separate legal systems, neither of which has such an agreement with the US. Our offshore hosting page sets out what Swiss jurisdiction covers and where it stops.
The limit deserves a plain statement. Control of a domain sits with its registry and registrar, not with its nameservers. If a .com is suspended at the registry, the delegation disappears, and a nameserver in Switzerland goes on answering queries that no resolver sends any more. Spreading nameservers across jurisdictions protects you against losing a DNS operator; it does nothing against action at the TLD. If jurisdiction is the reason you are reading this, a .ch or .li domain, whose registry is Switch in Zurich, is the consistent choice.
Knot, NSD and BIND all ship with query logging off. On your VPS it stays off unless you enable it, and if you do, the resolver addresses you store are personal data under the revised Federal Act on Data Protection, in force since 1 September 2023. For an operator in the EU that creates no export problem: on 15 January 2024 the European Commission confirmed that Switzerland still provides an adequate level of data protection.
04/07
Requirements and sizing.
A secondary is light work. Zones sit in memory, an answer costs microseconds of CPU, and the processor idles unless someone is attacking you. One vCPU is enough; Starter gives you two.
| Resource | What a secondary needs | VPS Starter |
|---|---|---|
| CPU | 1 vCPU; load only during attacks or large AXFRs | 2 vCPU |
| Memory | Every served zone in RAM, plus the journal | 2 GB |
| Disk | Zone files and the transfer journal, a few GB at most | 80 GB NVMe |
| Network | 53/udp and 53/tcp inbound, 53/tcp outbound to the primary | 1 Gbps, 10 TB transfer per month |
| Addresses | One stable IPv4, ideally IPv6 as well | 1 IPv4 included (extra IPv4 $2/mo) |
For ordinary portfolios memory is rarely the first constraint anyway; transfer is. A theoretical figure, counting queries and responses together (the cautious case): at an average of 400 bytes per query plus response, 10 TB is about 25 billion queries a month, or some 9,600 queries per second sustained; with DNSSEC-signed answers averaging 800 bytes, about 4,800. Few portfolios come anywhere near that.
An attack is another matter. Every VPS includes DDoS protection at no extra cost, but during a large attack we may filter or limit traffic, so do not size this node to absorb a flood. If you want one nameserver in the set that can, make it an anycast provider and keep ours as the independent copy.
05/07
Deploying a Knot DNS secondary on Debian 13.
The examples use documentation addresses: a hidden primary at 198.51.100.10, and the new secondary, ns3.example.com, at 203.0.113.53.
- 01
1. Order the server
Deploy VPS Starter with Debian 13. Payment is in cryptocurrency, and the account needs no identity documents: no-KYC, an email address is enough.
- 02
2. Install Knot and generate the transfer key
apt update && apt install knot knot-dnsutils keymgr -t xfr-alp1 hmac-sha256keymgr -tprints akey:block ready to paste into the configuration and writes nothing to disk. The primary gets the same secret. - 03
3. Configure the secondary
/etc/knot/knot.conf:server: rundir: "/run/knot" user: knot:knot listen: [ 0.0.0.0@53, ::@53 ] log: - target: syslog any: info key: - id: xfr-alp1 algorithm: hmac-sha256 secret: <secret printed by keymgr> remote: - id: primary address: 198.51.100.10@53 key: xfr-alp1 acl: - id: notify-from-primary address: 198.51.100.10 key: xfr-alp1 action: notify mod-rrl: - id: default rate-limit: 200 slip: 2 template: - id: default storage: "/var/lib/knot" global-module: mod-rrl/default master: primary acl: notify-from-primary zone: - domain: example.com - domain: example.liknotc conf-check systemctl restart knot knotc zone-status example.comNo ACL in this file carries the
transferaction, so Knot refuses AXFR to everyone: your zones can be queried but not dumped. If you run a firewall, open port 53 for both UDP and TCP. TCP is not optional. It carries large answers and zone transfers, and Switch sends its DNSSEC checks for .ch and .li domains over TCP only. - 04
4. Point the primary at it
On a BIND primary:
key "xfr-alp1" { algorithm hmac-sha256; secret "<same secret as on ns3>"; }; zone "example.com" { type primary; file "/var/lib/bind/db.example.com"; notify explicit; also-notify { 203.0.113.53 key xfr-alp1; }; allow-transfer { key xfr-alp1; }; };notify explicitsends NOTIFY only to the addresses listed, which is what a hidden primary wants. While you are in the zone, set the SOA expire to between 1,209,600 and 2,419,200 seconds (two to four weeks), the range RFC 1912 suggests. That number decides how long ns3 keeps answering if the primary dies, and with a hidden primary on one machine it is the time you have to rebuild it. - 05
5. Check, then delegate
kdig @203.0.113.53 example.com SOA +norec kdig @198.51.100.10 example.com SOA +norecWhen the serials match, add ns3 to the NS records in the zone, then at the registrar, with glue if the nameserver's name sits inside the zone it serves. For .ch and .li there is a further reason to watch serial drift. Switch scans for CDS records every day, queries every listed nameserver on every one of its addresses, and accepts a DS change only when they all answer consistently. A secondary stuck on an old serial in the middle of a key rollover stalls the change; the Switch CDS status check shows where a domain stands.
- 06
Many zones: catalog zones
Past a few dozen domains, editing
knot.conffor every new zone becomes the most likely source of mistakes. Catalog zones (RFC 9432, July 2023) let the primary publish its zone list as a zone the secondary reads, so a domain added on the primary appears on ns3 at the next transfer. Knot has supported them since 3.1, BIND since 9.18.3, PowerDNS since 4.7, and NSD since 4.9.0, with one consumer catalog per server. On the primary side, Knot (catalog-role: generate) and NSD can build the catalog for you.template: - id: member storage: "/var/lib/knot" master: primary acl: notify-from-primary zone: - domain: catalog.invalid catalog-role: interpret catalog-template: memberThe catalog zone itself inherits
masterandaclfrom the default template, so it travels under the same TSIG key as everything else.Keep ns3's configuration in git and you can rebuild the server in minutes, because the zone data comes from the primary. The machine that does need a backup is the hidden primary, and a restic repository in an S3-compatible bucket on our object storage (250 GB for $1.99 a month) is a reasonable place for it.
06/07
Cost.
| Item | Price | Comment |
|---|---|---|
| VPS Starter | $6.99 / month | 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps, 1 IPv4, full root |
| Yearly billing | $62.99 / year | about $5.25 a month |
| Extra IPv4 | $2 / month | a second address on the same machine adds no redundancy |
| Daily backups | +20 % (about $1.40 / month) | not worth it for a pure secondary |
| Priority support | $10 / month | optional |
Payment is in crypto only: Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins, with prices and balances in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50 and 10 % from $100; the full scale is on the pricing page. Theoretically, a single $25 top-up covers three months of Starter ($20.97). The unused paid part of a top-up is refundable within 14 days.
One thing the table cannot buy: a second Starter for another $6.99 gives you a second machine, not a second site. All our servers are in ALP1.
07/07
Acceptable use and your obligations.
Run the server authoritative-only: an open recursive resolver on a public address is found and abused for reflection attacks quickly, and the attack traffic it then sends falls under our ban on attacking other networks. Keep mod-rrl enabled so that spoofed queries for your own zones are of little use to an attacker either. You may not serve zones for domains used for phishing, malware distribution or botnet command and control, and you may not use the VPS to send attack traffic.
Complaints about a domain usually concern a website hosted somewhere else whose name resolves through your secondary, and they follow the same procedure as any content complaint. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025). In practice we pass the complaint to you, and you take it up with the holder of the domain.
As root, you apply Debian security updates to Knot, keep the TSIG secret out of public repositories, replace it when someone who had access leaves, and answer the complaints we forward. Opening the account takes only an email address; that does not change who answers for what the zones point to.
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.
Do I need two VPS with you for redundancy?
No, and two would not give you much. All our servers are in ALP1, so two VPS here share a site and its upstream connectivity. Run one secondary with us and the other with a different provider in a different country, which is what RFC 2182 asks for.
Can the hidden primary run here as well?
Yes, on a second Starter, with the caveat that your primary and one public secondary then share a site. That is acceptable if the other public secondary is elsewhere and the SOA expire gives you two weeks or more to rebuild the primary after a bad day in ALP1.
Does the secondary handle DNSSEC?
It serves whatever the primary signed, RRSIG and NSEC or NSEC3 records included, without holding any private keys; signing stays on the primary. For .ch and .li zones, Switch accepts CDS-driven DS changes only when every nameserver answers consistently, so monitor the serial on all of them, not only on ours.
What happens if the primary goes offline?
ns3 keeps answering from its copy and retries at the SOA retry interval. If the SOA expire runs out without a successful refresh, it stops answering authoritatively for that zone. That is why the expire value deserves more thought than it usually gets.
Can I use NSD instead of Knot?
Yes. NSD's pattern blocks and nsd-control addzone handle large portfolios well, and since version 4.9.0 it can consume one catalog zone. The NOTIFY, transfer and TSIG settings on the primary are the same as above.
Sources
Every fact on this page, with its source
Checked 6 Nov 2026 unless noted.
Swiss law and authorities
EU and other countries
- CLOUD Act executive agreements only with the UK and Australia, none with Switzerland or Panamajustice.gov · verified 31 Oct 2026
- European Commission review of 15 January 2024 confirms Swiss adequacy (decision 2000/518/EC)European Commission, adequacy decisions
Industry, providers and software
- Knot DNS 3.4.6 is the version packaged in Debian 13 (trixie)Debian packages, knot
- Swico Code of Conduct Hosting, new version published 13 March 2025Swico, Codes of Conduct
Other references
- Knot DNS secondary zones, master and explicit ACL with the notify actionknot-dns.cz
- keymgr -t generates a TSIG key, prints it to stdout and creates no filekeymgr(8), knot 3.4.6-2
- Secondaries should be topologically and geographically dispersedRFC 2182 / BCP 16
- SOA expire of 2–4 weeks (1,209,600–2,419,200 s)RFC 1912
- NOTIFY, IXFR, AXFR and TSIGRFC 1996
- DNS Catalog ZonesRFC 9432
- Catalog zone support in Knot DNS 3.1, BIND 9.18.3 and PowerDNS 4.7en.blog.nic.cz
- NSD 4.9.0 adds catalog zones, single consumer zoneNLnet Labs, NSD 4.9.0 released
- Switch checks .ch/.li CDS records daily, on all nameservers and addresses, over TCP only, and requires consistent answersSwitch, CDS Status Check
- DDoS on Dyn made Twitter, Spotify, Reddit and others unreachableKrebs on Security
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.
