Open-source Go binary · OpenWrt · UniFi OS · Linux · macOS · Tailscale

Encrypted DNS everywhere
your terminal runs.

A standalone zero-CGO Go binary built for routers and workstations. Connects across 8 sovereign edge PoPs over DoH primary + DoT failover without chicken-and-egg DNS bootstrap loops, while keeping .lan and home.arpa resolving locally.

One-line verified installerv1.0.0 · zero-CGO · SHA-256 verified
sh -c "$(curl -sL https://guardino.ai/install.sh)"
guardino init --preset focus

Downloads SHA-256 verified release binary for Linux (amd64/arm64/armv7/mipsle/mips64le), macOS, FreeBSD, or OpenWrt.

Engineered for routers & homelabs

Built to stay out of the way of your LAN.

8 hardcoded PoP bootstrap IPs

Zero DNS chicken-and-egg deadlock at boot. Reaches Vienna, Warsaw, Stockholm, Seattle, Queretaro, Pune, Jakarta, or Tokyo immediately even before system DNS is up.

DoH primary + DoT failover

Encrypted RFC 8484 DoH over HTTPS with automatic DoT (port 853) and PoP health failover so strict captive or firewall paths stay resilient.

Split-horizon .lan forwarding

Route internal domains (--forwarder lan=192.168.1.1) and keep RFC1918 reverse lookups local (bogus-priv) while filtering external internet lookups.

Zero-signup terminal init

Run guardino init --preset focus to mint a live 7-day Instant Shield straight from your terminal in seconds, or pass --profile <id> for existing accounts.

5,000-entry RAM TTL cache

Bounded in-memory response cache cuts upstream roundtrips on busy router and developer machines without touching flash storage or SD cards.

Dry-run & reversible install

Inspect every file edit and service reload command with guardino install --dry-run before applying, and roll back cleanly with deactivate / uninstall.

Supported targets

One static binary across routers, desktops, and containers.

OpenWrt routers

127.0.0.1:5342

Supports mipsle, mips64le, armv7, arm64, and amd64 targets. Binds 127.0.0.1:5342 automatically behind dnsmasq so DHCP leases keep working normally.

UniFi OS (UDM / UCG)

UDM / UCG

Integrates alongside UniFi dnsmasq via non-destructive drop-in forwarders and --forwarder local=192.168.1.1.

Linux (systemd-resolved / resolv.conf)

systemd-resolved

Detects active systemd-resolved or plain resolv.conf hosts, installs a systemd service unit, and activates local loopback DoH/DoT forwarding.

macOS (Apple Silicon & Intel)

launchd

Configures a native launchd system daemon and points active networksetup interfaces safely with clean deactivation backups.

FreeBSD, pfSense & Docker

FreeBSD / Docker

Static FreeBSD binary plus scratch/distroless container pattern (guardino run --listen 0.0.0.0:53) for homelab containers.

Tailscale MagicDNS & exit nodes

MagicDNS

Run guardino tailscale to print your exact Tailscale Split DNS / custom DoH resolver string for remote workers and exit nodes.

4-step quick start

From zero to encrypted router DNS in two minutes.

01

Install the verified binary

Fetches the matching OS/architecture tarball from GitHub Releases and verifies SHA256SUMS.txt before placing the binary in PATH.

sh -c "$(curl -sL https://guardino.ai/install.sh)"
02

Create or link a Shield profile

Mint a 7-day Instant Shield with family, focus, or privacy preset (or link your existing Shield ID via --profile YOUR_SHIELD_ID).

guardino init --preset focus
03

Preview changes, then activate

Check planned files and commands first with --dry-run, then write the system/router service and switch upstream DNS.

guardino install --dry-run && sudo guardino install && sudo guardino activate
04

Benchmark PoPs & verify encryption

Compare latency across all 8 Guardino PoPs with ping and confirm no DNS leaks with test.

guardino ping && guardino test
Tip for OpenWrt & UniFi: run `guardino config set forwarder "lan=192.168.1.1,home.arpa=192.168.1.1"` before activating so local device hostnames continue resolving via your gateway.

Need a Shield ID first?

Mint an Instant Shield here or link your account.

Generate a Shield ID below if you want QR / mobile sync across phones alongside your router CLI setup.

Zero Signup · Live 7-Day Full Shield

Generate your live DNS shield in 1 click

Pick what you want to block right now. We create your dedicated encrypted DNS address instantly - active for 7 days with full Pro controls, no account or card required.

No email · No app install · No credit card · Query logging off by default

CLI FAQ

Technical details for router and shell users

Which CPU architectures are compiled in GitHub Releases?+

Every tagged cli-v* release builds static zero-CGO archives with SHA256SUMS.txt for linux/amd64, linux/arm64, linux/armv7, linux/mipsle (softfloat), linux/mips64le (softfloat), darwin/amd64, darwin/arm64, freebsd/amd64, and windows/amd64.

Does guardino-cli replace dnsmasq on OpenWrt or UniFi?+

No. On OpenWrt and UniFi OS, guardino-cli listens on 127.0.0.1:5342 while leaving dnsmasq on port 53 to handle DHCP leases, local hostnames, and conditional LAN forwarders.

Does it log my DNS queries on router flash memory?+

By default LogQueries is false and the TTL response cache sits strictly in RAM (5,000 entries max), preventing flash/SD wear on embedded routers.

How do I undo every change cleanly?+

Run `sudo guardino deactivate && sudo guardino uninstall` to restore backed-up resolver settings and remove service files.

Does Guardino support Tailscale MagicDNS?+

Yes. Run `guardino tailscale` after init to display the exact DoH/DoT endpoint format compatible with Tailscale admin DNS settings and exit nodes.