Pihole not working on docker.

Hi,

I used to have pihole 6 installed on a rpi5. All was working fine, clients can connect, I have many of them declare on pihole interface with ipv4 adresses.

Today I would to give a try to pihole on my syno nas (1821+).

So I installed Docker, I found a script for pihole 6, I import my config from the rpi5.

BUT I have a pb :
The devices (such esp32) that were connected to internet via the previous pihole dhcp server don’t want to connect to the new one !!!

The rpi5 was in 192.168.1.149 (it is now switch off) and tha Syno Nas is in 192.168.1.101

I try to change the ip adress of the Nas with 192.168.1.149, but same behavior clients can connect to internet.

What Do I do wrong ?

It seems the new pihole 6 setup works with ipv6 only. Is it possible ?
If so is it possible to force ipv4 ?

Thank you for your help.

You did not read :wink:

Running DHCP from Docker Pi-Hole

There are multiple different ways to run DHCP from within your Docker Pi-hole container, but it is slightly more advanced and one size does not fit all.

DHCP and Docker's multiple network modes are covered in detail on our docs site: Docker DHCP and Network Modes.

Tony Lawrence detailed macvlan setup for Pi-hole first in the second part of his great blog series about Running Pi-hole on Synology Docker, check it out here: Free your Synology ports with Macvlan