On my fritz.nas I do have serveral blocking lists, I created a sharing link with myfritz.net,
so with myfritz.net + sharing link pihole can fetch the lists.
When I am changing my myfritz to my dyndns address pihole is getting "connection refused" while pulling the shared lists.
I already added my dyndns address to the rebind allow list in my fritzbox
Wanted to change djejeje7337336.myfritz.net to myname.dyndns.com, cause myfritz address will change when fritzbox will exchanged cause dyndns will stay longer and be stable
I can access lists both ways manually in browser, dyndns and myfritz. I am getting error only while pihole is grabbing lists using myfritz in automated fetching
pi@ph5:~ $ cat /etc/cron.d/pihole
[..]
# Pi-hole: Update the ad sources once a week on Sunday at a random time in the
# early morning. Download any updates from the adlists
# Squash output to log, then splat the log to stdout on error to allow for
# standard crontab job error handling.
19 3 * * 7 root PATH="$PATH:/usr/sbin:/usr/local/bin/" pihole updateGravity >/var/log/pihole_updateGravity.log || cat /var/log/pihole_updateGravity.log
pi@ph5:~ $ pihole -g -h
Usage: pihole -g
Update domains from blocklists specified in adlists.list
Options:
-f, --force Force the download of all specified blocklists
-h, --help Show this help dialog
You don't need a public hostname to have Pi-hole access your locally stored blocklists.
Using your local hostname will do, normally.
As you are using fritz.nas, accessing files may require authentication, and this may interfere with downloading. There are ways around this, but they involve removing authentication altogether or providing credentials in plain text directly in the URL.
You may access your custom blocklist file on the Pi-hole itself, either by
a) accessing the Pi-hole's filesystem
Assuming you've stored your blocklist in a file at /home/pi/personalblocklist, add the following URL to Pi-hole's Adlist group management
file:///home/pi/personalblocklist
b) hosting it on Pi-hole's webserver
Assuming you are using Pi-hole's lighttpd, move or copy your personalblocklist to /var/www/html/ and add the following URL to Adlist group management