Diet-pi can not install and configure normally after i format and flash many time

And i guess your router is pointing to PiHole? Do you use DHCP or STATIC IP?