User Agents

Web browsers and everyday web tech, explained

AdGuard Home on Airtel: Network-Wide DNS and DHCP Setup

· 6 min read · How the Web Works

In this article
  1. Why Run AdGuard Home on Airtel?
  2. Hardware and Software Requirements
  3. Step-by-Step Installation on Airtel Network
  4. Common Problems and Fixes on Airtel
  5. How to Choose Between DHCP on Router vs. AdGuard Home
  6. Performance and Safety Considerations
  7. Alternatives to AdGuard Home
  8. Frequently Asked Questions

Yes, you can set up AdGuard Home on an Airtel broadband connection to act as a network-wide DNS and DHCP server, blocking ads and trackers for every device on your home network. This guide covers the full process, from choosing the right hardware to configuring Airtel's router and troubleshooting common issues.

Why Run AdGuard Home on Airtel?

Airtel provides a standard router/modem (often a Nokia, Huawei, or Sercomm model) that acts as your gateway. By default, it uses Airtel's DNS servers, which do no filtering. Installing AdGuard Home on a dedicated device (like a Raspberry Pi, an old PC, or a Docker container) gives you a private DNS server that filters ads, trackers, and malicious domains before they reach your devices. Because you set it as the DHCP server, every device that joins your Wi-Fi or wired network automatically uses it—no per-device configuration needed.

This setup also works with Airtel's fiber (Xstream Fiber) and DSL connections, as long as your router allows you to change DNS settings or disable its built-in DHCP server.

Hardware and Software Requirements

AdGuard Home is lightweight and runs on almost anything that supports Linux, including:

  • Raspberry Pi (any model with network access)
  • An old laptop or desktop PC
  • A NAS or home server with Docker
  • A virtual machine on your main computer

You'll need a static IP address for the device running AdGuard Home on your local network. Most Airtel routers let you reserve an IP via DHCP reservation, or you can set a static IP manually on the device itself.

Step-by-Step Installation on Airtel Network

  1. Install AdGuard Home on your chosen device. The official one-line installer (curl -s -L https://install.adguard.com | sh) works on most Linux distributions. For Docker, use the official image: adguard/adguardhome.
  2. Set a static IP for the device. For example, if your router's subnet is 192.168.1.0/24, assign 192.168.1.10 to your AdGuard Home machine.
  3. Access the AdGuard Home web interface at http://<device-ip>:3000. Complete the initial setup wizard, choosing port 53 for DNS and port 80 (or 8080) for the admin panel.
  4. Configure your Airtel router: Log in to your router's admin page (usually at 192.168.1.1 or 192.168.0.1). Find the DHCP settings and change the DNS server to your AdGuard Home IP. If your router has a separate DNS setting for the WAN interface, leave it as is (or set it to a public DNS like 1.1.1.1 as a fallback).
  5. Disable the router's built-in DHCP if you want AdGuard Home to manage IP assignments entirely. This is optional but recommended for full control. If you disable it, enable AdGuard Home's DHCP server (in Settings → DHCP settings) and set the range to match your subnet.
  6. Test: On any device, visit a site with ads (e.g., a news site) and check that ads are blocked. You can also use the AdGuard Home query log to see DNS requests.

Common Problems and Fixes on Airtel

  • Airtel router doesn't allow custom DNS: Some Airtel routers (especially older DSL models) lock the DNS field. Workaround: disable DHCP on the router and let AdGuard Home handle DHCP. Then every device gets the correct DNS automatically.
  • Devices still show old DNS: Clear the DNS cache on your devices (ipconfig /flushdns on Windows, or restart the device). Also check that your router's DHCP lease hasn't cached the old DNS.
  • AdGuard Home becomes unreachable: If you set a static IP that conflicts with the router's DHCP range, you may get IP conflicts. Reserve the IP in the router's DHCP reservation list instead of using a random static IP.
  • IPv6 issues: Airtel provides IPv6 on many fiber connections. AdGuard Home can handle IPv6, but you must also set the IPv6 DNS on your router. If you don't want IPv6, disable it on the router to avoid devices bypassing your filter.
  • Speed drops: If AdGuard Home is on a weak device (e.g., a Pi Zero), it may become a bottleneck. Use a wired connection and a device with at least 1GB RAM for best performance.

How to Choose Between DHCP on Router vs. AdGuard Home

You have two main options:

  • Keep DHCP on the router: Simpler, but you must manually set the DNS server to AdGuard Home. This works if your router allows custom DNS.
  • Use AdGuard Home as DHCP server: More control (you can assign static leases per device), and it ensures all devices use AdGuard Home even if the router's DNS setting is ignored. However, you must disable the router's DHCP to avoid conflicts.

For most Airtel users, keeping DHCP on the router and just changing the DNS is enough. Only switch to AdGuard Home's DHCP if you need per-device settings or if your router blocks DNS changes.

Performance and Safety Considerations

AdGuard Home does not encrypt DNS by default; it uses plain DNS on port 53. To prevent eavesdropping on your DNS queries, you can enable DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT) in AdGuard Home's settings. This requires a domain name and a valid SSL certificate (Let's Encrypt works). Airtel does not block outbound port 443, so DoH should work fine.

Also, AdGuard Home only filters DNS requests. It won't block ads that are served from the same domain as the content (e.g., YouTube ads). For that, you'd need a content blocker in your browser.

Alternatives to AdGuard Home

  • Pi-hole: A similar DNS-based ad blocker, but with a simpler interface and fewer features (no DHCP server built-in).
  • NextDNS: A cloud-based DNS filtering service with a free tier. You set it on your router's DNS settings, but it doesn't run locally.
  • Cloudflare 1.1.1.1: Not an ad blocker, but a fast, private DNS. You can combine it with AdGuard Home as an upstream DNS.

Frequently Asked Questions

Will this work on Airtel 4G/5G hotspot?

No. Airtel's mobile hotspot uses cellular data and doesn't allow you to change DNS settings on the device. AdGuard Home works only on your home broadband network where you control the router.

Can I use AdGuard Home on a Windows PC and still have it work 24/7?

Yes, but the PC must be always on. You can install AdGuard Home as a Windows service. For reliability, a low-power device like a Raspberry Pi is better.

Will Airtel block AdGuard Home?

No, Airtel does not block DNS servers on its broadband network. You can use any DNS resolver you want. However, if you use a non-standard port for the admin interface, make sure it's not blocked by Airtel's firewall (port 80 and 3000 are fine).

What if my Airtel router resets to default settings after a power cut?

Some Airtel routers have a known issue where settings revert after a firmware update or power loss. To avoid this, note your settings and reapply them if needed. You can also use a separate switch or UPS to prevent power cuts.

Can I set AdGuard Home to only block ads on certain devices?

Yes, if you use AdGuard Home's DHCP server, you can assign specific DNS settings per device (via static leases). Alternatively, you can create a separate network (VLAN) for devices that need filtering, but that requires a managed switch.

Does AdGuard Home slow down my internet?

No, because it only handles DNS queries, which are tiny. The actual data flows directly from your device to the internet. The only overhead is the time to process a DNS request, which is typically under 10 milliseconds on a modern device.