Containers pihole DNS issue

i figured it out :smile:
if can be usefull for anyone, i was just missing to specify the pihole address as DNS into the yaml:

..
    networks:
      - shared_network
    dns:
      - 172.25.0.2

networks:
  shared_network:
    external: true   

pihole have a reserved ip

...
    networks:
      shared_network:
        ipv4_address: 172.25.0.2
2 Likes