About

AnyNS is a community-driven authoritative DNS hosting platform. Rooted in developer and site-operator communities, we build features directly around real-world DNS pain points — free for personal use, with dedicated isolated instances for higher-tier and enterprise workloads.

The architecture, laid out
Authoritative cluster Two authoritative groups (ns1, ns2) carried by three mutually independent network providers, all anycast — 23 nodes in total, powering highly available, millisecond-level DNS responses worldwide. A further 3 nodes (Hong Kong ×2, Singapore) form the accelerated line for mainland China.
Data sync The primary lives in Singapore, hidden behind the protection layer, never answering the public internet; every edge node long-polls for changes — a record edit reaches all nodes within seconds. Edges hold only encrypted replicas and no plaintext ever lands on their disks; each node answers from a resident in-memory snapshot, and data swaps never interrupt service.
Authoritative engine: dnsd In-house authoritative engine: every zone lives in a resident in-memory snapshot, the query hot path is lock-free, and data swaps never pause answering. The network currently answers about 9.36 million queries a day (as of 2026-10).
Front-line defense: dnsway An in-house defense layer in front of every node's authoritative responder: reputation-tiered rate limiting, UDP amplification mitigation (response-size clamping for unverified sources plus TC challenges forcing genuine-source TCP), and automatic banning of anomalous query patterns. It exists to stop people using free DNS as an attack reflector — normal queries never notice it.
Split-horizon Answers vary by the querying client's location (GeoIP, EDNS Client Subnet supported): 18 preset routes (Mainland China / HK-MO-TW / US-JP-KR-SG + CN Telecom / Unicom / Mobile / CERNET + six continents), plus user-defined IP-range routes. Routes are purely an answer-steering dimension — they classify where the query comes from, not where data lives: all authoritative data is stored in Singapore only.
Dogfooding anyns.io itself resolves on this cluster — one dig verifies it. The cluster ran in production for our own core services long before opening to wider users.
No wheel-reinventing — compatible with what you already run

DDNS speaks DynDNS2, so router firmware works as-is; certificate automation uses the acme.sh plugin and lego's httpreq shape, so Traefik / Caddy work out of the box; data moves as standard BIND zone files — migrating from Cloudflare is export there, import here. Every onboarding command lives on the docs page and runs as-is.

Docs →

Driven by real community needs

Core AnyNS capabilities — dual-stack Anycast, geo/ISP split routing, apex CNAME flattening, automatic failover, and batch transactional APIs — are shaped directly by feedback from developer and webmaster communities. Personal use stays free, backed by dedicated isolated instances for enterprise workloads.

View pricing & enterprise plans →