Please follow the below template, it will help us to help you!
Expected Behaviour:
Still able to mount a share from the same system where Pi Hole is installed
Actual Behaviour:
I installed Pi hole on my RPi 3 running openhabian and Openhab2. Pi hole works. Openhab2 works. I can access the admin page, I can access the main page of Openhab (port 8080), log file (port 9001) but I can't mount the openhab share on my macbook anymore.
Finder tells me the following address cannot be reached:
smb://openhabian@openhab.local:445/openHAB-conf
From netstat output, there is no daemon listening on SMB port 445.
If that share is suppose to be part of the "openhabian" distro, better luck at their support forums as Pi-hole should not conflict with SMB (uses different ports ... see netstat for all of them).
EDIT: ow and from below, I can see the Mac is using 10.105.12.1 for DNS resolution (most likely your router) and not the Pi-hole IP address.
That way the clients will query the router first for DNS.
The router forwards the DNS query to Pi-hole that will forwards queries to upstream configured DNS servers.
This way all queries seem to appear coming from the router.
So you wont see individual stats on the Pi-hole web GUI.
Try search here on discourse how folks configure their FritzBox to push the Pi-hole IP address as a DNS server to the clients using DHCP.
So after having read half of the internet, I solved my problem!!!
Short version: Samba service was missing...I fixed it by reinstalling Samba.
Long version: the command mount showed my shares mounted. There's even a config in openhabian which installs and configuers the samba shares. I did that, logs still showed shares mounted, but I never managed to restart samba...because it's missing.
The background is that I wanted to run Pihole in a docker container. I couldn't install Docker (or make it run) so I tried 100000 things and installed and uninstalled plenty of stuff...Probably Samba has been uninstalled somewhere then.
Thanks alot, deHakkelar! Everything runs fine now!!