
Gravity
Replicated DNS, DHCP & TFTP server with ad-blocking

Gravity is a lightweight network services suite that provides fully-replicated DNS, DHCP and TFTP functionality with built-in ad‑blocking and a web UI/API for management. It is designed for small to medium networks and multi-site deployments where replicated state and ease of migration matter.
Key Features
- Fully-replicated configuration and runtime data across cluster members (replication/backing store is used to synchronize state).
- DNS server with local caching and configurable ad/privacy blocking; can operate as a forwarder while maintaining its own records.
- DHCP server with automatic DNS registration and import capabilities for existing Microsoft DHCP leases/reservations.
- TFTP server for storing device configurations and PXE/netboot workflows.
- Web-based UI and HTTP API for management and automation.
- Metrics exposed for Prometheus; bundled dashboards/visualizations are supported for observability.
- Backup role supporting snapshot export to S3-compatible storage and local snapshots.
- Provided as container images and can be deployed with Docker Compose or container runtimes.
Use Cases
- Replace or consolidate DNS/DHCP/TFTP services for small office or branch networks with a single, replicated platform.
- Multi-site deployments that require synchronized DNS/DHCP state without external databases or complex primary/secondary setups.
- Air-gapped or regulated environments where cluster images and bundled artifacts simplify migration and offline installs.
Limitations and Considerations
- Minimum recommended resources are modest but non-trivial (examples note at least 1 CPU core and ~1 GB RAM); resource needs grow with many DNS zones or when Blocky/CoreDNS ad‑blocking is enabled.
- Official support targets AMD64 and ARM64 builds; other CPU architectures are not guaranteed.
- Performance and memory usage can increase significantly with large numbers of zones or very high query/lease volumes; plan capacity accordingly.
Gravity provides a compact, self-contained alternative for replicated network services with observability and backup integrations. It focuses on operational simplicity for multi-node and multi-site scenarios while exposing management APIs for automation.
Categories:
Tags:
Tech Stack:
Similar Services

Pi-hole
Network-wide DNS sinkhole for ad and tracker blocking
Pi-hole is a network-wide DNS sinkhole that blocks ads and trackers for all devices on your network, with a web dashboard, query logs, and optional DHCP server.


AdGuard Home
Network-wide DNS server that blocks ads, trackers, phishing and malware
Open-source DNS-based ad & tracker blocking server for networks. Offers per-device rules, parental controls, encrypted upstream DNS (DoH/DoT/DNSCrypt), web UI and API.


MyIP (IPCheck.ing)
Open-source IP toolbox for IP, DNS, WebRTC and network diagnostics
MyIP (IPCheck.ing) is an open-source web IP toolbox that detects local/public IPs, runs DNS leak and WebRTC checks, speed/latency/MTR tests, availability and whois lookup...

Technitium DNS Server
Authoritative and recursive DNS server with web console
Cross-platform DNS server with authoritative/recursive modes, encrypted DNS (DoH/DoT/DoQ), DNSSEC, ad/malware blocking, DHCP, and an HTTP API with web admin UI.

Blocky
Fast, lightweight DNS proxy and ad-blocker in Go
Open-source DNS proxy and network-wide ad-blocker for local networks. Supports DoH/DoT, per-client rules, caching, deep CNAME inspection, Prometheus metrics, Docker and H...

Unbound
Validating, recursive, caching DNS resolver
Standards-based validating recursive DNS resolver with DNSSEC validation, DNS-over-TLS/HTTPS support and configurable caching for privacy and performance.
Go
Docker
TypeScript
Grafana