Network services#13
Oracle Cloud VPS: secondary DNS & filtering on the go
A second AdGuard Home on an Oracle Cloud VPS: it takes over when home DNS is down, and filters every request from my phone when I’m on 4G.
Year2025
RoleArchitecture & operations
- Redundant DNS
- Filtering on 4G
- Encrypted DNS
Problem
All DNS relied on a single AdGuard Home at home: if it went down, the whole network lost name resolution. And on 4G, the phone fell back to the carrier’s DNS, with no filtering at all.
Solution
An Oracle Cloud VPS hosts a secondary AdGuard Home with the same filter lists as the primary. The local network gets it as a second DNS server; on 4G, the phone sends all its queries to it over encrypted DNS (DNS-over-TLS / DNS-over-HTTPS). Only the encrypted-DNS ports are open on the VPS.
Architecture
Clients
AdGuard resolvers
Tap an element to see its role, or follow a path.
Outcome
Name resolution survives a home outage, and filtering follows the phone everywhere, even off the network.
222
AdGuard resolvers
4G4G4G
filtered, off the network
Key steps
- 01
Oracle Cloud VPS created, access rules limited to encrypted DNS
- 02
AdGuard Home installed with the same filter lists
- 03
Let’s Encrypt certificate for encrypted DNS (DoT / DoH)
- 04
Second DNS server handed out to the local network
- 05
Phone private DNS pointed at the VPS for 4G
- 06
Tests: primary AdGuard down, queries from 4G
In the notebook
Stack
Oracle CloudAdGuard HomeDNS-over-TLSDNS-over-HTTPSLet’s Encrypt