Knowledgebase:
DirectConnection Mode - Pi-hole Unbound
Posted by pspzockerscene psp, Last modified by pspzockerscene psp on 03 August 2021 04:48 PM

Myjd Direct Connection Mode Pi-hole Unbound configuration

By default, DNS rebind protection can prevent Myjd Direct Connection Mode from working.
The following instructions will teach you how configure a "Forward zone" in your Unbound config:

1. Edit the file /etc/unbound/unbound.conf.d/pi-hole.conf and add the following:

# DNS Rebind Protection - Allow MyJdownloader Direct Connection Domain and all its subdomains
# to return private addresses

private-domain: mydns.jdownloader.org

# Enable Unbound to forward MyJDownloader Direct Connection DNS queries to Google/Cloudflare
recursive DNS Servers
forward-zone:
name: "mydns.jdownloader.org."
forward-addr: 8.8.8.8
forward-addr: 1.1.1.1

* In this example we're using Cloudflare/Google DNS servers. You can of course use DNS servers of your choice.

2. That's it - myjd Direct Connection Mode should work fine now.

Thanks to forum user Dmx and cremor

(0 vote(s))
Helpful
Not helpful