Plex and Pi-Hole

Hi. I have Pi-Hole running on a Raspberry PI. I have my router’s primary DNS set to my Pi. When I do this my Plex media server is unhappy because it’s an unsecure connection. I clicked on “Allow unsecure connections” and nothing happens. How do I resolve this?

Looks like someone may have found a solution:

1 Like

Thanks.
I’ve tried that previously.

Here’s what I’ve tried:

I’ve added the following to the /etc/dnsmasq.d01-pihole.conf :

EDIT SETTINGS

dns-forward-max=5096
min-cache-ttl=300
rebind-domain-ok=/plex.direct/

END EDIT

And then issuing the following command: pihole restartdns

And I’ve added the following to /etc/unbound/unbound.conf.d :

EDIT SETTINGS

private-domain: plex.direct

END EDIT

And then issuing the following command: sudo service unbound restart

I’ve also restarted Plexmediaservices on my Ubuntu server.

Any other hints or advice?

PS
The two websites I used to make these edits are:
[SOLVED] Plex secure connection not possible - #3 by Bjoure (same as backfields recommendation)
and
Need to get plex working with pihole - Help - Pi-hole Userspace

Thanks again.