Skip to main content

DNS Server

Tutorials

DNS over HTTPS (DoH)

Secure DNS

Adguard Home
NSD

An authoritative-only DNS server

Pi-hole

Pi-hole - A DNS-based advertisement blocker

docker-compose.yaml :

pihole:
    image: pihole/pihole:latest
    container_name: pihole
    restart: always
    ports:
      - "53:53/tcp"
      - "53:53/udp"
    dns:
      - 127.0.0.1
      - 1.1.1.1
    environment:
      TZ: 'America/Chicago'
      WEBPASSWORD: 'password'
      PIHOLE_DNS_: 1.1.1.1;9.9.9.9
      DNSSEC: 'false'
      WEBTHEME: default-dark
    volumes:
      - '~/homelabservices/pihole/pihole:/etc/pihole/'
      - '~/homelabservices/pihole/dnsmasq.d:/etc/dnsmasq.d/'
    networks:
      - pihole

networks:
  pihole:
    driver: bridge
    name: pihole