hi coxackie. for standalone version you need, as you said and as you read in the wiki, DNS service and pi-hole blocking enabled AND name resolving pointing to localhost. stop. nothing else.
pihole-FTL.service (since version 4 dnsmasq has been forked and integrated) IS the DNS server service (and a logger not so relevant in standalone version) and it is statically enabled. you need to mask it or it will always start with your system.
Search Criteria
Package Details: pi-hole-standalone 5.2.4-3
Git Clone URL: | https://aur.archlinux.org/pi-hole-standalone.git (read-only, click to copy) |
---|---|
Package Base: | pi-hole-standalone |
Description: | The Pi-hole is an advertising-aware DNS/Web server. Arch alteration for standalone PC. |
Upstream URL: | https://github.com/pi-hole/pi-hole |
Keywords: | ad block pi-hole |
Licenses: | |
Conflicts: | |
Submitter: | max.bra |
Maintainer: | max.bra |
Last Packager: | max.bra |
Votes: | 4 |
Popularity: | 0.007477 |
First Submitted: | 2016-01-13 12:39 |
Last Updated: | 2021-02-08 13:17 |
max.bra commented on 2019-10-18 23:11
coxackie commented on 2019-10-18 15:49
Hi @max.bra, thanks for your work. I have a naive question: how can we check that indeed all is running well? I have installed, not done anything regarding DNS, I run pihole status
and get
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled
Does this mean that all is good? Otherwise, could you explain a bit better how to set 127.0.0.1
so it is the only DNS server in use, as the wiki mentions? Is it just a matter of having nameserver 127.0.0.1
in /etc/resolv.conf
, or it requires more? Furthermore, does one need to start pihole-FTL.service
, or is it optional in case one needs logs?
max.bra commented on 2019-09-17 17:12
hi mborder, try now and thanks for reporting
Anonymous comment on 2019-09-17 16:33
I'm getting a number of errors with this that I suspect are new as of the most recent update. In the initial installation I get this:
==> Read setup instructions at <https://wiki.archlinux.org/index.php/Pi-hole>
==> Generating initial block list, please wait...
/opt/pihole/webpage.sh: line 299: syntax error near unexpected token `}'
/opt/pihole/webpage.sh: line 299: `}'
/usr/bin/pihole: line 28: main: command not found
Running commands with the pihole utility also seems to have errors
$ pihole status
[✓] DNS service is running
[i] Pi-hole blocking will be enabled
/usr/bin/pihole: line 258: /usr/local/bin/pihole: No such file or directory
$ pihole -a
[✓] Restarting DNS service
/opt/pihole/webpage.sh: line 299: syntax error near unexpected token `}'
/opt/pihole/webpage.sh: line 299: `}'
/usr/bin/pihole: line 28: main: command not found
sonny commented on 2019-07-26 18:43
Since everything is pretty much optional in pi-hole-server and from what I can tell there does not seem to be much difference between the two, why not having a single pi-hole package?
It would decrease the burden on you and the users.
Also https://pi-hole.net/2018/10/15/announcing-our-restful-api-contributions-welcome/ will decrease dependencies.
max.bra commented on 2019-07-26 18:37
Absolutely yes. Server package do it and I need to align this package to. As I always said, this package deserve more love.
sonny commented on 2019-07-26 18:32
Okay it's working.
Thanks for the packages and helping out.
I spent a lot of time trying to make this work, wouldn't make more sense to just have pacman do that?
max.bra commented on 2019-07-26 18:22
Don't know why but I missed some wiki modifications: a step is missing. I need to align this installation to the server one. Can you please copy ""/usr/share/pihole/configs/dnsmasq.example.conf" to /etc/dnsmasq.conf and restart ftl?
sonny commented on 2019-07-26 18:05
Okay I just replaced pi-hole-standalone with pi-hole-server to test and it's working. Let me know if I can help debug this somehow.
max.bra commented on 2019-07-26 18:03
With no-resolv directive dnsmasq should not read that file
Pinned Comments
max.bra commented on 2018-02-09 16:47
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.