# Pihole + adlists + dyndns vs myfritz.net - connection refused

**URL:** <https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877>\
**Category:** Community Help\
**Created:** [January 12, 2021, 8:22pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877 "2021-01-12T20:22:34Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max-Mustermann](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/max-mustermann/32/35872_2.png) [@Max-Mustermann](https://discourse.pi-hole.net/u/Max-Mustermann)\
**Post date:** [January 12, 2021, 8:22pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/1 "2021-01-12T20:22:35Z")

</div>

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

Any ideas?

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [January 12, 2021, 8:48pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/2 "2021-01-12T20:48:14Z")

</div>

What is the goal you're trying to archive? Maybe there is another way to do it...

---

<div class="post-metadata">

**Author:** ![Max-Mustermann](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/max-mustermann/32/35872_2.png) [@Max-Mustermann](https://discourse.pi-hole.net/u/Max-Mustermann)\
**Post date:** [January 12, 2021, 8:58pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/3 "2021-01-12T20:58:44Z")

</div>

Wanted to change [djejeje7337336.myfritz.net](http://djejeje7337336.myfritz.net) to [myname.dyndns.com](http://myname.dyndns.com), cause myfritz address will change when fritzbox will exchanged cause dyndns will stay longer and be stable

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [January 12, 2021, 9:04pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/4 "2021-01-12T21:04:17Z")

</div>

I understood why you wanted to switch to a dyndns, but still I'm not sure what your end goal is?

Do you want to share adlists you host locally on your NAS with other people?

---

<div class="post-metadata">

**Author:** ![Max-Mustermann](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/max-mustermann/32/35872_2.png) [@Max-Mustermann](https://discourse.pi-hole.net/u/Max-Mustermann)\
**Post date:** [January 12, 2021, 9:09pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/5 "2021-01-12T21:09:01Z")

</div>

I maintain lists on my NAS and feed pihole and I can share my lists with others

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [January 12, 2021, 9:17pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/6 "2021-01-12T21:17:59Z")

</div>

I'm not sure if it's a problem with pihole or if it's a configuration issue with your myfritz/dyndns.

> [@Max-Mustermann](#):
>
> changing my myfritz to my dyndns address pihole is getting "connection refused" while pulling the shared lists.

Are you able to access the lists manually, so to rule out that it's releated to pihole?  
Your question might be better suited in a Fritz!Box forum.

There are other options to share/maintain lists, maybe this would be something for your case?

> [@Gravity Sync, an easy way to keep multiple Pi-hole In-sync](https://discourse.pi-hole.net/t/gravity-sync-an-easy-way-to-keep-multiple-pi-hole-in-sync/33545):
>
> What is better than a Pi-hole blocking ads via DNS on your network? That's right, Two Pi-hole! But if you have more than one Pi-hole (PH) in your network you'll want a simple way to keep the list configurations identical between the two. I've recently been toiling away at a script to do exactly this, and what started as a few lines lines of bash was shared with some friends, and has grown into what I now call Gravity Sync -- which I'd now like to share with you all for your feedback. [https://gi…](https://github.com/vmstan/gravity-sync)

[https://github.com/stevejenkins/pihole-cloudsync](https://github.com/stevejenkins/pihole-cloudsync)

---

<div class="post-metadata">

**Author:** ![Max-Mustermann](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/max-mustermann/32/35872_2.png) [@Max-Mustermann](https://discourse.pi-hole.net/u/Max-Mustermann)\
**Post date:** [January 12, 2021, 9:21pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/7 "2021-01-12T21:21:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vmstan](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/vmstan/32/14125_2.png) [@vmstan](https://discourse.pi-hole.net/u/vmstan)\
**Post date:** [January 12, 2021, 9:45pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/8 "2021-01-12T21:45:14Z")

</div>

Are you able to resolve the addresses themselves on the server running Pihole?

---

<div class="post-metadata">

**Author:** ![Max-Mustermann](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/max-mustermann/32/35872_2.png) [@Max-Mustermann](https://discourse.pi-hole.net/u/Max-Mustermann)\
**Post date:** [January 12, 2021, 9:46pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/9 "2021-01-12T21:46:39Z")

</div>

Yes can be resolved, fritzbox stating connection refused as per pihole logfile

---

<div class="post-metadata">

**Author:** ![Max-Mustermann](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/max-mustermann/32/35872_2.png) [@Max-Mustermann](https://discourse.pi-hole.net/u/Max-Mustermann)\
**Post date:** [January 12, 2021, 9:54pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/10 "2021-01-12T21:54:49Z")

</div>

What is the command pihole is using to fetch lists? In logfile shown as ... retrieving ... ?

---

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [January 13, 2021, 1:44am UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/11 "2021-01-13T01:44:30Z")

</div>

> **[Redirecting...](https://docs.pi-hole.net/core/pihole-command/#gravity)**

```auto
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

```

* * *

```auto
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

```

---

<div class="post-metadata">

**Author:** ![Max-Mustermann](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/max-mustermann/32/35872_2.png) [@Max-Mustermann](https://discourse.pi-hole.net/u/Max-Mustermann)\
**Post date:** [January 13, 2021, 6:18am UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/12 "2021-01-13T06:18:08Z")

</div>

Meant behind the pi command pihole -g, curl? Ftp?

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [January 13, 2021, 6:40am UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/13 "2021-01-13T06:40:28Z")

</div>

Curl

> <https://github.com/pi-hole/pi-hole/blob/41bdb741b7e1a70184ecd7dbfc23f3ebcaa5e3bc/gravity.sh#L528>

---

<div class="post-metadata">

**Author:** ![Max-Mustermann](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/max-mustermann/32/35872_2.png) [@Max-Mustermann](https://discourse.pi-hole.net/u/Max-Mustermann)\
**Post date:** [January 13, 2021, 7:14am UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/14 "2021-01-13T07:14:03Z")

</div>

I guess there is no difference between

[https://mydyndns.dyndns.com:5577/nas/filelink.lua?id=faasdsdafdsfsasdfdsffds8b77c4a9bb749](https://mydyndns.dyndns.com:5577/nas/filelink.lua?id=faasdsdafdsfsasdfdsffds8b77c4a9bb749)

and

[https://s324d3e465xc3453.myfritz.net:5577/nas/filelink.lua?id=faasdsdafdsfsasdfdsffds8b77c4a9bb749](https://s324d3e465xc3453.myfritz.net:5577/nas/filelink.lua?id=faasdsdafdsfsasdfdsffds8b77c4a9bb749)

in dowloading adlist from local NAS - what might cause fritzbox to refuse

Dyndns address causes refuse whereas myfritz will be grabbed

---

<div class="post-metadata">

**Author:** ![Bucking\_Horn](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bucking_horn/32/18719_2.png) [@Bucking\_Horn](https://discourse.pi-hole.net/u/Bucking_Horn)\
**Post date:** [January 13, 2021, 9:20am UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/15 "2021-01-13T09:20:55Z")

</div>

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_](http://pi.hole/admin/groups-adlists.php)

```auto
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_

```auto
http://pi.hole/personalblocklist

```

---

<div class="post-metadata">

**Author:** ![Max-Mustermann](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/max-mustermann/32/35872_2.png) [@Max-Mustermann](https://discourse.pi-hole.net/u/Max-Mustermann)\
**Post date:** [January 13, 2021, 12:23pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/16 "2021-01-13T12:23:07Z")

</div>

Thanks a ton, both ways r working perfectly !  
So I don't rely on fritz.nas router settings 🙂

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [February 3, 2021, 12:23pm UTC](https://discourse.pi-hole.net/t/pihole-adlists-dyndns-vs-myfritz-net-connection-refused/42877/17 "2021-02-03T12:23:11Z")

</div>

Closed on February 3, 2021, 12:23pm UTC

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
