Package Details: pi-hole-server 5.18.3-4

Git Clone URL: https://aur.archlinux.org/pi-hole-server.git (read-only, click to copy)
Package Base: pi-hole-server
Description: The Pi-hole is an advertising-aware DNS/Web server. Arch adaptation for lan wide DNS server.
Upstream URL: https://github.com/pi-hole/pi-hole
Keywords: ad block pi-hole
Licenses: EUPL-1.2
Conflicts: pi-hole-standalone
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 112
Popularity: 0.50
First Submitted: 2016-01-13 12:50 (UTC)
Last Updated: 2024-08-10 12:32 (UTC)

Dependencies (18)

Required by (2)

Sources (15)

Pinned Comments

max.bra commented on 2018-02-09 16:45 (UTC) (edited on 2019-10-18 23:14 (UTC) by max.bra)

ArchLinux Pi-hole is not officially supported by Pi-hole project. In case of bugs and malfunctions please DO NOT file a report upstream.

First of all check if the wiki (https://wiki.archlinux.org/index.php/Pi-hole) can help then ask here for assistance and tips.
When it will be excluded that the problem does not depend on ArchLinux we will file a bug upstream.

Latest Comments

1 2 3 4 5 6 .. 82 Next › Last »

blissing commented on 2024-08-24 01:49 (UTC)

@an_ku You can set the Cache limit in /etc/dnsmasq.conf

an_ku commented on 2024-08-18 08:36 (UTC)

Hi 0a4d5f78b2a3 removed cache-size=10000 in 01-pihole.conf. The cache size now defaults to 150 which is causing a lot of cache evictions.

max.bra commented on 2024-08-16 09:59 (UTC) (edited on 2024-08-16 09:59 (UTC) by max.bra)

@trainzkid @deemon
the 01-pihole.conf problems should be solved with latest releases.

pi-hole's archlinux distribution, in addition to being unsupported by the official team, is also voluntarily very different: it is without any debugging utility (the official team specifically requested, rightly, not to receive debug logs from a distribution they do not support), without any “automatic” recovery utility (this is archlinux), and is definitely more static in installation, upgrade, and removal.
It is normal, therefore, to expect that it is taken for granted (this is archlinux) that a merge between the various .pacnew and .pacsave should be done.
This does not detract from the fact that the backup during package installation of the 01-pihole.conf file was a bit overkill and inconvenient.
Let's see how it goes now, if things are better and less problematic, barring of course some possible oversight by the maintainers.

trainzkid commented on 2024-08-16 09:05 (UTC) (edited on 2024-08-16 09:06 (UTC) by trainzkid)

@graysky / @max.bra

Not sure if these are any help in the discussion about updating /etc/dnsmasq.d/01-pihole.conf from /etc/pihole/setupVars.conf via cli:

As someone whose DNS was suddenly unavailable following an update+reboot (maybe the 3rd or 4th time in a row?), I'd love some attention on this. The good news is the more times it happens, the quicker I'm able to find the problem.

That first article mentioned possibly using the -r/reconfigure flag with pihole for this issue, but those don't seem to work on my system. I expected the dnsmasq file to be updated on restart/reload of the service file, but that's not the case either.. very confusing.

graysky commented on 2024-07-27 20:48 (UTC) (edited on 2024-07-27 20:50 (UTC) by graysky)

@deemon - you have to manually diff the two files retaining the relevant settings, although I agree that the upstream comments regarding auto populated should be removed or we should regenerate it each time.

@max.bra - what do you think is the better course?

deemon commented on 2024-07-27 12:48 (UTC) (edited on 2024-07-27 13:00 (UTC) by deemon)

Pihole generally works. Without web interface, which is intended. However I have an issue, that it tries on update to overwrite (well, generate .pacnew) of /etc/dnsmasq.d/01-pihole.conf , and when applied as is, making the pihole fail (well, in status work, but in reality not resolve ANY queries). Because it deletes the lines for server=1.1.1.2 (your chosen upstream DNS) and interface=<your network interface name>. The update process does not take into account anything from /etc/pihole/setupVars.conf (where I have set up (also) PIHOLE_INTERFACE=<interface name> and PIHOLE_DNS_1=1.1.1.2) and should be used to autogenerate /etc/dnsmasq.d/01-pihole.conf file on installation AND UPDATE <= which it does not, and is my problem here.

/etc/dnsmasq.d/01-pihole.conf does say:

###############################################################################
#      FILE AUTOMATICALLY POPULATED BY PI-HOLE INSTALL/UPDATE PROCEDURE.      #
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
#                                                                             #
#        IF YOU WISH TO CHANGE THE UPSTREAM SERVERS, CHANGE THEM IN:          #
#                      /etc/pihole/setupVars.conf                             #
#                                                                             #
#        ANY OTHER CHANGES SHOULD BE MADE IN A SEPARATE CONFIG FILE           #
#                    WITHIN /etc/dnsmasq.d/yourname.conf                      #
###############################################################################

This file automatic population does not work in current upgrade procedure.

OR the /etc/dnsmasq.d/01-pihole.conf should have more accurate instructions how to trigger this automatic population in the Arch/AUR version.

max.bra commented on 2024-07-15 07:32 (UTC)

clean your aur helper cache

trulex commented on 2024-07-15 06:28 (UTC)

fix checksum: beeb08d8e7225100e37cc789a48f1bea64cd07111c880d3fb43a9cee7bb15fae arch-server-admin-5.21-1.patch