Menu

1 / 2

Part 3: A High-Availability DNS Network with AdGuard Home

DEV Community·Prajwol Adhikari·6 months ago
#KFBvDdO3
#chapter#for#linux#adguard#server
Reading 0:00
15s threshold

Introduction

Welcome to Part 3 of my homelab series! In the previous parts, I built my server and deployed a suite of management and monitoring tools. Now, it's time to build the brain of my network: a robust, redundant, and high-availability DNS system using AdGuard Home that works both at home and on the go.

In this detailed guide, I'll walk you through how I deployed a total of three AdGuard Home instances, each with its own unique IP address. I set up a primary resolver on my homelab, a secondary failover resolver in the cloud for my mobile devices, and a tertiary resolver on a separate virtual network for local redundancy.

Chapter 1: The Local Workhorse (Primary DNS)

I started by deploying my main, day-to-day DNS resolver on my homelab server.

Step 1: Deploying AdGuard Home with Docker Compose

First, I SSHed into my server, created a directory for the project, and a docker-compose.yml file to define the service.

mkdir -p ~/docker/adguard-primary cd ~/docker/adguard-primary nano…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.