Pi-Hole installed but not working

:us:

My YunoHost server

Hardware: Raspberry Pi at homeYunoHost version: 11.0.10.2
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I have Pi-Hole installed on my RPi - yunohost. I want to use it to stop ads on my network. Installation was fine.
I have defined a static address for my server and also defined it as my DNS address.
However Pi-Hole is not working, i.e. I still have ads + my dashboard remains empty.
Capture d’écran 2022-12-08 à 20.54.58.pdf (419.3 KB)
Capture d’écran 2022-12-08 à 20.54.42.pdf (520.7 KB)

Some infos:

admin@xxxxx:~ $ sudo pihole status
  [✓] FTL is listening on port 53
     [✓] UDP (IPv4)
     [✓] TCP (IPv4)
     [✓] UDP (IPv6)
     [✓] TCP (IPv6)

  [✓] Pi-hole blocking is enabled
root@xxxxxxx:~# pihole -r

  [✓] Root user check
  [i] SELinux not detected
  [✓] Update local cache of available packages
  [i] Existing PHP installation detected : PHP version 7.4.33

  [✓] Checking apt-get for upgraded packages... 19 updates available
  [i] It is recommended to update your OS after installing the Pi-hole!

  [i] Checking for / installing Required dependencies for OS Check...
  [✓] Checking for grep
  [✓] Checking for dnsutils

  [✓] Supported OS detected
  [i] Checking for / installing Required dependencies for this install script...
  [✓] Checking for git
  [✓] Checking for iproute2
  [✓] Checking for dialog
  [✓] Checking for ca-certificates

  [i] Repair option selected
  [i] Performing reconfiguration, skipping download of local repos
  [i] Resetting repository within /etc/.pihole......   Unable to reset /etc/.pihole, exiting installer

Also I have modified /etc/dnsmasq.d/01-pihole.conf (which was probably not the best idea).

addn-hosts=/etc/pihole/local.list
addn-hosts=/etc/pihole/custom.list
localise-queries
#no-resolv
cache-size=1000
#log-queries
log-facility=/var/log/pihole/pihole.log
log-async
log-queries
server=80.67.169.12
server=80.67.169.40
interface=eth0

:fr:

Mon serveur YunoHost

Matériel: Raspberry Pi à la maison
Version de YunoHost: 11.0.10.2
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

J’ai installé sans soucis Pi-Hole sur mon RPi - yunohost. Je veux l’utiliser pour bloquer les pubs sur mon réseau.
J’ai défini une adresse statique pour mon serveur et aussi utilisé cette adresse comme adresse DNS.
Malheureusement Pi-Hole ne fonctionne pas, i.e. j’ai toujours des pubs + mon dashboard est vide.
Capture d’écran 2022-12-08 à 20.54.58.pdf (419.3 KB)
Capture d’écran 2022-12-08 à 20.54.42.pdf (520.7 KB)

Quelques infos:

admin@xxxxx:~ $ sudo pihole status
  [✓] FTL is listening on port 53
     [✓] UDP (IPv4)
     [✓] TCP (IPv4)
     [✓] UDP (IPv6)
     [✓] TCP (IPv6)

  [✓] Pi-hole blocking is enabled
root@xxxxxxx:~# pihole -r

  [✓] Root user check
  [i] SELinux not detected
  [✓] Update local cache of available packages
  [i] Existing PHP installation detected : PHP version 7.4.33

  [✓] Checking apt-get for upgraded packages... 19 updates available
  [i] It is recommended to update your OS after installing the Pi-hole!

  [i] Checking for / installing Required dependencies for OS Check...
  [✓] Checking for grep
  [✓] Checking for dnsutils

  [✓] Supported OS detected
  [i] Checking for / installing Required dependencies for this install script...
  [✓] Checking for git
  [✓] Checking for iproute2
  [✓] Checking for dialog
  [✓] Checking for ca-certificates

  [i] Repair option selected
  [i] Performing reconfiguration, skipping download of local repos
  [i] Resetting repository within /etc/.pihole......   Unable to reset /etc/.pihole, exiting installer

A noter que j’ai modifié /etc/dnsmasq.d/01-pihole.conf (ce qui n’était peut être pas une très bonne idée).

addn-hosts=/etc/pihole/local.list
addn-hosts=/etc/pihole/custom.list
localise-queries
#no-resolv
cache-size=1000
#log-queries
log-facility=/var/log/pihole/pihole.log
log-async
log-queries
server=80.67.169.12
server=80.67.169.40
interface=eth0

Keep this thread alive !

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