But, I am still not able to reach the WebGui by typing https://192.168.178.1:82/admin. Reaching the interface from HA is no problem.
What am I doing wrong?
Edit: changing from https to http seems to work. But, pi hole is not accepting the login credentials. I typed in my HA login credentials. The right user should be named pihole, but I do not know the actual password and how to change that.
FWIW, in case it helps anyone else, nothing I did based on all the docs I read would help show local hostnames in pi-hole, UNTIL I switched to ālisten on all interfacesā rather than ālisten only on interface eth0ā. Iām running DHCP on my AsusWRT-merlin router rather than the pi-hole itself, and I updated the host.list file there, turned on conditional forwarding, added all the proper IPs in the proper places according to everthing I read. But nowhere did I read anything about switching the interface listening behavior affecting this issue.
Hi all, Iāve been searching for a solution since yesterday, when I installed this add-on on Hass.io, but with no luck so I hope this wasnāt already ansered.
I canāt see hostnames in the add-on dashboard, no matter what I do, only IP addresses.
Pi-hole add-on is the DHCP server of my LAN and I can see it blocking requests from the clients.
I flagged āListen on all interfaces, permit all originsā but all I obtained was to be able to manually call a nslookup on a LAN hostnames from the SSH add-on connection but manually forcing the DNS in the command.
I assume that for pihole to work my web browsing devices need to route their traffic via the rpi. How does this happen? For example my broadband router does not allow user defined dns addresses.
Am I misunderstanding something?
@phairplay: You may need to enable Settings -> DNS -> Use conditional forwarding
For everyone else - I have a question. Is there a standard way to modify dnsmasq configuration? I want to force āsafe searchā by overriding some domains:
sudo nano /etc/dnsmasq.d/05-restrict.conf
# reference: https://support.opendns.com/hc/en-us/articles/227986807-How-to-Enforcing-Google-SafeSearch-YouTube-and-Bing
# https://www.leowkahman.com/2017/09/11/enforce-safe-search-on-google-youtube-bing/
# Google safe search (Copy from OpenWRT link)
# YouTube restricted
# you can also implement a moderate setting replace restrict.youtube.com with restrictmoderate.youtube.com
cname=youtube.com,restrictmoderate.youtube.com
cname=www.youtube.com,restrictmoderate.youtube.com
cname=m.youtube.com,restrictmoderate.youtube.com
cname=youtubei.googleapis.com,restrictmoderate.youtube.com
cname=youtube.googleapis.com,restrictmoderate.youtube.com
cname=youtube-nocookie.com,restrictmoderate.youtube.com
cname=www.youtube-nocookie.com,restrictmoderate.youtube.com
# Bing safe search
cname=bing.com,strict.bing.com
cname=www.bing.com,strict.bing.com
sudo nano /etc/hosts
216.239.38.120 restrict.youtube.com
216.239.38.119 restrictmoderate.youtube.com
216.239.38.120 forcesafesearch.google.com
204.79.197.220 strict.bing.com
Any suggestions on how I could do that in a way that is preserved by the container restart?
Edit: I see this is exposed outside of the container: /usr/share/hassio/addons/data/a0d7b954_pi-hole/dnsmasq.d/. Iāll give it a goā¦
This question is for anyone i just selected the last post, anyways does anyone know how i can modify the pihole directory from hassio addons? i have static address i have prepped from a stand alone pihole instance that i would like to copy over, i would also like to install cloudflared over https onto the hassio platform. Any Ideas?
hi, iāve a problem with this add-on. Iāve hassio on armbian and sometimes when i reboot it or energy go down when it restart (sometimes) iāve this error:
[18:47:21] INFO: Starting NGinx....
nginx: [emerg] invalid number of arguments in "resolver" directive in /etc/nginx/includes/resolver.conf:1
i donāt understand what appened, can you help me? thanks
first of all, thank you for this great addon. During the installation of hass.io Iāve set a static dns server, for which Iāve configured to use cloudlfare. It seems like the Pi-Hole addon changes the preconfigured static dns server:
Log at addon startup:
[2020-01-03 19:24:40.610 871] New forward server: 8.8.4.4 (0/512)
[2020-01-03 19:24:40.610 871] New forward server: 8.8.8.8 (1/512)
Is there any possibility to change the dns-Server Pi-Hole is using?
Iām getting the following error whenever I start the DNS server. I only just installed it and have no idea where to start with troubleshooting.
2020/01/18 15:31:45 [error] 780#780: *152 FastCGI sent in stderr: "PHP message: PHP Warning: unlink(../custom_disable_timer): No such file or directory in /var/www/html/admin/api.php on line 47" while reading response header from upstream, client: 172.30.32.2, server: a0d7b954-pi-hole, request: "GET /api.php?enable=&token=<redacted>%3D HTTP/1.1", upstream: "fastcgi://127.0.0.1:17276", host: "192.168.1.130:8123", referrer: "http://192.168.1.130:8123/api/hassio_ingress/<redacted>"
I have an asus with merlin and the DNS Server 1 is the ip of my NUC.
What am I doing wrong? Iāve been able to make it work with my RPI before.
Tue Jan 21 2020 23:37:55 GMT-0600 (CST)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 419, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 284, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
state = self.state
File "/usr/src/homeassistant/homeassistant/components/pi_hole/sensor.py", line 65, in state
return round(self.data[self._condition], 2)
KeyError: 'domains_being_blocked'
hey all,
I had hass.io running on ubuntu 18.04 with the pi-hole docker add-on all fine until I uninstalled pi-hole today. Since then the internet on the ubuntu machine is broken. All local ip addresses are fine: I can visit my local hass.io front-end and other local pages like my router, vacuum robot and a few sonoffs, but anything thatās not local doesnāt work. I can also succesfully ping to 1.1.1.1 and 8.8.8.8
Iāve found a few similar problems in google but not yet a solution.
Recovering a snapshot doesnāt fix it: the pi-hole add-on doesnt start. No such image: hassioaddons/pi-hole-amd64:4.0.0
Hi Community
Is there a way to add to the blacklist (or even remove from blacklist) via RESTful API. Would love to change the list when certain condition(s) are met.
Thanks