@max.bra I performed one more test using dhclient
with Pi-Hole having the DHCP server turned on:
╭─jorge@lightyear in ~/ took 1s
╰─❯ nc -vzu 192.168.1.2 67
╭─jorge@lightyear in ~/ took 5ms
╰─❯ echo $?
0
so, the port seems open where I'm running my Pihole, then let's run dhclient
...
╰─❯ sudo dhclient -v enp5s0
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/enp5s0/04:d9:f5:7d:50:2a
Sending on LPF/enp5s0/04:d9:f5:7d:50:2a
Sending on Socket/fallback
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Welp.
EDIT: I'm setting a Docker compose configuration with the Docker Pi-hole offered by the Pihole project for testing something and I noticed that dhcping
returns no answer
where dhclient
actually gets an answer from the Pihole service. I made a question to Server Fault trying to weed out that I screwed up something in the Docker compose configuration but if everything is fine, then I cannot trust dhcping
and relay on dhclient
to test if my network has Pihole offering a DHCP server or not, here is the question: https://serverfault.com/questions/1126280/no-answer-from-dhcping-in-alpine-container-when-using-pi-hole-as-dhcp-server-in
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.