Hey everybody! So I finally got hass.io up and running with Samba, SSH, DuckDNS, and Node-Red. However, I seem to be at an impasse with the pi-hole addon. I configured my router to use my raspberry pi, which HA is running on, as its DNS server and forwarded the port 4865. However, everytime I try to actually access pi-hole, I get this error:
Failed Host Check: myduckdns.duckdns.org vs 192.168.x.xxx, 2600:8803:b400:3e:ef3d:9223:3555:4514, hassio.local, pi.hole, localhost, hassio, hassio.local
So I thought maybe my error was the port forwarding, so I disabled the port forward and I get an error that says “This site cannot be reached”
My config for the addon is as follows:
{
“password”: “mypassword”,
“update_lists_on_start”: true,
“admin_port”: 4865,
“dns_port”: 53,
“ssl”: true,
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”,
“interface”: “”,
“ipv6”: true,
“ipv4_address”: “”,
“ipv6_address”: “”,
“virtual_host”: “”,
“hosts”: []
}
My logs look this (this is with the ports forwarded):
[✓] Pulling blocklist source list into range
[i] Target: raw.githubusercontent.com (hosts)
[i] Status: Pending…
[✓] Status: Retrieval successful
[i] Target: mirror1.malwaredomains.com (justdomains)
[i] Status: Pending…
[✓] Status: No changes detected
[i] Target: sysctl.org (hosts)
[i] Status: Pending…
[✓] Status: No changes detected
[i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)
[i] Status: Pending…
[✓] Status: No changes detected
[i] Target: s3.amazonaws.com (simple_tracking.txt)
[i] Status: Pending…
[✓] Status: No changes detected
[i] Target: s3.amazonaws.com (simple_ad.txt)
[i] Status: Pending…
[✓] Status: No changes detected
[i] Target: hosts-file.net (ad_servers.txt)
[i] Status: Pending…
[✓] Status: No changes detected
[i] Consolidating blocklists…
[✓] Consolidating blocklists
[i] Extracting domains from blocklists…
[✓] Extracting domains from blocklists
[i] Number of domains being pulled in by gravity: 134660
[i] Removing duplicate domains…
[✓] Removing duplicate domains
[i] Number of unique domains trapped in the Event Horizon: 112361
[i] Nothing to whitelist!
[i] Parsing domains into hosts format…
[✓] Parsing domains into hosts format
[i] Cleaning up stray matter…
[✓] Cleaning up stray matter
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled
[cont-init.d] 50-gravity.sh: exited 0.
[cont-init.d] 99-tests.sh: executing…
dnsmasq: syntax check OK.
[30-Mar-2019 19:58:03] NOTICE: configuration file /etc/php7/php-fpm.conf test is successful
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
[cont-init.d] 99-tests.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2019-03-30 19:58:03.556 1099] Using log file /var/log/pihole-FTL.log
[2019-03-30 19:58:03.556 1099] ########## FTL started! ##########
[2019-03-30 19:58:03.556 1099] FTL branch: master
[2019-03-30 19:58:03.556 1099] FTL version: v4.2.3
[2019-03-30 19:58:03.556 1099] FTL commit: aae487e-dirty
[2019-03-30 19:58:03.556 1099] FTL date: 2019-02-25 17:18:14 -0800
[2019-03-30 19:58:03.557 1099] FTL user: pihole
[2019-03-30 19:58:03.557 1099] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2019-03-30 19:58:03.558 1099] SOCKET_LISTENING: only local
[2019-03-30 19:58:03.558 1099] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2019-03-30 19:58:03.558 1099] MAXDBDAYS: max age for stored queries is 365 days
[2019-03-30 19:58:03.558 1099] RESOLVE_IPV6: Resolve IPv6 addresses
[2019-03-30 19:58:03.558 1099] RESOLVE_IPV4: Resolve IPv4 addresses
[2019-03-30 19:58:03.558 1099] DBINTERVAL: saving to DB file every minute
[2019-03-30 19:58:03.558 1099] DBFILE: Using /etc/pihole/pihole-FTL.db
[2019-03-30 19:58:03.558 1099] MAXLOGAGE: Importing up to 24.0 hours of log data
[2019-03-30 19:58:03.558 1099] PRIVACYLEVEL: Set to 0
[2019-03-30 19:58:03.559 1099] IGNORE_LOCALHOST: Show queries from localhost
[2019-03-30 19:58:03.559 1099] BLOCKINGMODE: Null IPs for blocked domains
[2019-03-30 19:58:03.559 1099] REGEX_DEBUGMODE: Inactive
[2019-03-30 19:58:03.559 1099] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2019-03-30 19:58:03.559 1099] DBIMPORT: Importing history from database
[2019-03-30 19:58:03.559 1099] PIDFILE: Using /var/run/pihole-FTL.pid
[2019-03-30 19:58:03.559 1099] PORTFILE: Using /var/run/pihole-FTL.port
[2019-03-30 19:58:03.559 1099] SOCKETFILE: Using /var/run/pihole/FTL.sock
[2019-03-30 19:58:03.559 1099] WHITELISTFILE: Using /etc/pihole/whitelist.txt
[2019-03-30 19:58:03.560 1099] BLACKLISTFILE: Using /etc/pihole/black.list
[2019-03-30 19:58:03.560 1099] GRAVITYFILE: Using /etc/pihole/gravity.list
[2019-03-30 19:58:03.560 1099] REGEXLISTFILE: Using /etc/pihole/regex.list
[2019-03-30 19:58:03.560 1099] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2019-03-30 19:58:03.560 1099] AUDITLISTFILE: Using /etc/pihole/auditlog.list
[2019-03-30 19:58:03.560 1099] Finished config file parsing
[2019-03-30 19:58:03.562 1099] Database successfully initialized
[2019-03-30 19:58:03.563 1099] New forward server: 8.8.4.4 (0/4096)
[2019-03-30 19:58:03.563 1099] New forward server: 8.8.8.8 (1/4096)
[2019-03-30 19:58:03.566 1099] Resizing “/FTL-strings” from 4096 to 8192
[2019-03-30 19:58:03.571 1099] Resizing “/FTL-strings” from 8192 to 12288
[2019-03-30 19:58:03.586 1099] Resizing “/FTL-strings” from 12288 to 16384
[2019-03-30 19:58:03.612 1099] Resizing “/FTL-strings” from 16384 to 20480
[2019-03-30 19:58:03.615 1099] Resizing “/FTL-queries” from 229376 to 458752
[2019-03-30 19:58:03.644 1099] Resizing “/FTL-strings” from 20480 to 24576
[2019-03-30 19:58:03.659 1099] Imported 7054 queries from the long-term database
[2019-03-30 19:58:03.660 1099] -> Total DNS queries: 7054
So it seems like pi-hole itself is working, its just that I cannot access its front end. Any ideas?