How sathwik4444/meshguard works
MESHGUARD is a Linux DNS-routing and failover installer for clients using Tailscale to reach AdGuard or Pi-hole. The documented workflow is to install and configure the client, then let its daemon probe the DNS endpoint and adjust the local resolver according to the selected mode; users can inspect or change that behavior with the server CLI. The README describes these capabilities, but no source excerpts were provided, so relationships below are limited to those documented there.
Main entry points: block.sh server CLI
Components 16
Installation
- Installer
block.sh - Tailscale setup
block.sh - Resolver snapshot
block.sh - systemd service
block.sh
DNS Routing
- DNS daemon
block.sh - Endpoint health monitor
block.sh - Mode-based routing
block.sh - Linux resolver
- Fallback DNS route
- Tailscale network
- AdGuard DNS endpoint
Client Administration
- server CLI
block.sh - Status and diagnosis
block.sh - Update and verification
block.sh - Login and uninstall
block.sh
Other components
- Linux administrator
Connections 18
- Linux administrator → Installer: runs
README.md - Installer → Tailscale setup: configures
README.md - Installer → Resolver snapshot: records
README.md - Installer → systemd service: installs
README.md - Installer → server CLI: creates
README.md - systemd service → DNS daemon: runs
README.md - DNS daemon → Endpoint health monitor: performs
README.md - Endpoint health monitor → AdGuard DNS endpoint: probes
README.md - DNS daemon → Mode-based routing: applies
README.md - Mode-based routing → Linux resolver: updates route
README.md - Mode-based routing → Fallback DNS route: selects on failure
README.md - Linux resolver → Tailscale network: routes DNS
README.md - Tailscale network → AdGuard DNS endpoint: reaches
README.md - Linux administrator → server CLI: controls
README.md - server CLI → DNS daemon: controls and inspects
README.md - server CLI → Status and diagnosis: offers
README.md - server CLI → Update and verification: offers
README.md - server CLI → Login and uninstall: offers
README.md