Possible nameserver issues PiHole v5.18.3, on Ubuntu running Docker

Holy smokes I think we did it! Everything looks good in Pihole now. I'll give it a day or so and see if I run into any hiccups.

This is the docker-compose I ended up with:

---
version: "3"
services:
  pihole:
    container_name: pihole
    image: pihole/pihole:2024.07.0
    ports:
      - 53:53/tcp
      - 53:53/udp
      - 67:67/udp
      - 80:80/tcp
    environment:
      TZ: America/New_York
      WEBPASSWORD: 
    volumes:
      - /home/tom/dockervolumes/pihole/etc:/etc/pihole
      - /home/tom/dockervolumes/pihole/dnsmasq.d:/etc/dnsmasq.d
    cap_add:
      - NET_ADMIN
    networks:
      - pihole
    restart: unless-stopped

networks:
  pihole:
    external: true

I'll add this as a note, initially it was showing a null driver. I followed this guide and that is what made the macvlan work: Using MACVLAN in Portainer.io

1 Like

You still should consider to add explicit configuration of DNS servers for the container itself.

1 Like

I absolutely will add it. When I get home I’ll update it. Thank you.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.