Salut a tous ca fait un ptit moment que j’essaie de me faire mon pi-hole, j’utilise utilise un Raspberry pi zéro 2w a quel j’ai attribué une ip statique et vu que j’ai une Livebox 5 je peux pas changer l’ip du DNS du coup j’ai mis le DHCP sur le pi et j’ai retirer celui de ma box.
Et il marche enfin et c’est trop bien, seul problème a peu près 24h après il ne fonctionne plus et mon wifi non plus, du coup obligé de réinitialiser max box et ca a chaque fois. J’ai cherché sur reddit et apparemment ca peux être du a l’ipv6 du coup je l’ai désactiver sur ma box mais ca me fait le même soucis la seule différence que j’ai eu c’est que dans l’historique de requête j’ai a peux près 20000 requetés qui ont était faites après le moment ou il a arrêter de fonctionner, je sais pas si ca peux aider.
Si c’est déjà arrive a quelqu’un et qui a trouvé la solution ou que juste quelqu’un l’a je suis très preneur de solution !! Merci d’avance pour vos réponses.
Thats not a true static IP but a static DHCP reservation instead.
The D in DHCP for dynamic.
What do you think happens with that DHCP reservation when you disable the DHCP service on the router to let Pi-hole take over?
If the Pi is to function as a DHCP server, it needs a true static IP configured manually on the Pi itself.
A DHCP server cant assign a DHCP lease to its own interface.
Check if below one is enabled:
systemctl is-enabled NetworkManager.service
If enabled, you can configure "manual" static details on the Pi with below (Network Manager Text User Interface):
sudo nmtui
Example config below (dont mind the lo profile for the loopback interface named lo):
If so, check if your router IP responds to DNS queries with below one:
dig +short @192.168.1.1 pi-hole.net
Eg:
$ dig +short @10.0.0.1 pi-hole.net
162.244.93.14
If you get an IP returned with above, you can configure the router IP in the "DNS servers" field.
Or you can enter the ISP provided DNS servers that are often published on the ISP support site.
Or one of below publicly available DNS services: