Package Details: pi-hole-server 5.18.4-1

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: 115
Popularity: 1.75
First Submitted: 2016-01-13 12:50 (UTC)
Last Updated: 2025-01-16 11:35 (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 .. 83 Next › Last »

Krischel commented on 2025-01-16 12:21 (UTC)

@max.bra Thank you for the clarification and detailed explanation. I completely understand that the Arch philosophy emphasizes user control over automation, and I appreciate the effort put into aligning the AUR package with those principles.

I also see your point about using a supported distribution or a container for those who need features like auto-generation of configuration files. It’s helpful to know that the package behaves as intended within the context of Arch Linux.

Thanks again for maintaining the AUR package and for restoring the backup mode (which I don’t need, but maybe others do) — it’s much appreciated!

max.bra commented on 2025-01-16 11:33 (UTC)

As you can read below, a few months ago in August, someone complained about the handling of 01-pihole.conf in backup mode. Today, someone is complaining about the same file outside of backup mode.

Archlinux is NOT a distribution supported by the pi-hole project. Archlinux requires configuration files to be managed by the user, including pacsave and pacnew. Archlinux (including AUR) is based on the installation of clear and simple packages, with no particular use of automation whatsoever, whose resulting configuration files are always delegated to the end user to manage.

There is nothing wrong with the generation of the 01-pihole.conf file simply because it is not generated as the official installation script does. Just see it in the AUR files.

I will now restore the backup mode as it has always been and call it a day.

If anyone needs debug mode, restore mode and auto-generation of configuration files, I strongly advise them to use a box with a supported distribution and/or use a container.

Krischel commented on 2025-01-16 09:29 (UTC)

@trainzkid I’m not the maintainer of this AUR package, but I agree with your observation. It seems that the Arch Linux version of Pi-hole is packaged differently from the official Pi-hole installation (via the basic-install.sh script). The Arch version seems to lack certain automation features, such as the automatic creation or update of /etc/dnsmasq.d/01-pihole.conf based on setupVars.conf.

This might be because Arch Linux software typically follows the KIS philosophy, which gives users more control but also places more responsibility on them.

That said, I could be wrong—perhaps @max.bra can clarify this better.

trainzkid commented on 2025-01-15 22:39 (UTC)

@krischel (or whomever has the answer)

According to the header in /etc/dnsmasq.d/01-pihole.conf, that config file should be created automatically from /etc/pihole/setupVars.conf. Why is the Arch version not doing this? What is different about the Arch version that it doesn't create this file correctly? What am I missing?

disprofarma commented on 2025-01-15 21:24 (UTC)

Hi, I have the same problem as @trainzkid, the 01-pihole.conf file was overwritten and with them the upstream dns settings were lost.

@max.bra could you add etc/dnsmasq.q/01-pihole.conf to backup files in the PKGCONFIG?

Thanks.

Krischel commented on 2025-01-15 08:14 (UTC)

@trainzkid It is indeed advisable to store custom configurations in a separate file to protect them from being overwritten during updates. In this case, as I mentioned earlier, you can use /etc/dnsmasq.d/99-edns.conf because configuration files in dnsmasq are loaded alphabetically, and files with higher numbers take precedence over others.

trainzkid commented on 2025-01-14 21:55 (UTC)

@max.bra

Just lost DNS again following an update. Am I expected to have to correct configs after EVERY update (because /etc/dnsmasq.d/01-pihole.conf gets auto rebuilt)?

Krischel commented on 2025-01-14 20:12 (UTC) (edited on 2025-01-14 20:14 (UTC) by Krischel)

Concerns the cache limit.

I do this with an own configuration file /etc/dnsmasq.d/99-edns.conf so that the file is not overwritten in the event of an update. It currently looks like this for me:

edns-packet-max=1232
dns-forward-max=300
cache-size=10000

Seniux commented on 2024-12-15 11:45 (UTC) (edited on 2024-12-15 11:50 (UTC) by Seniux)

Is it possible to change the branch to the "development"?


echo "development" | sudo tee /etc/pihole/ftlbranch
pihole checkout core development
pihole checkout web development

does not works. Arch pihole has no option "checkout"

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

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