AdGuard Home

A network-wide software for blocking ads & tracking.

This service is used to block responses to requests based on DNS filters. Based on curated DNS lists, services such as ads are filtered from arriving at the requesting client. This also includes the ability to block certain websites or services from being reachable network-wide.

Once adguardhome is running, the IP of its host can be assigned as a DNS server either on each device individually or in the configuration of the network router.

Once you change the DNS server of the router, you might have to renew the DHCP lease of your client as generally the DNS server gets assigned when the client first connects to the DHCP server, which usually is the router itself.

To do so, on Windows you can release and then renew the lease. Afterwards you can confirm that the DNS server IP matches your adguardhome host IP:

ipconfig /release
ipconfig /renew
ipconfig /all

Example docker-compose file:

services:
  adguardhome:
    container_name: adguardhome
    image: adguard/adguardhome:latest
    restart: unless-stopped
    volumes:
      - ./adguard/work:/opt/adguardhome/work
      - ./adguard/conf:/opt/adguardhome/conf
    ports:
      - "3000:81"
      - "53:53/tcp"
      - "53:53/udp"