testdasi / pihole-dot-doh

Official pihole docker both DoT (DNS over TLS) and DoH (DNS over HTTPS). Built for both Raspberry Pi and AMD64.
GNU General Public License v3.0
40 stars 23 forks source link

Can't access to PiHole Web Admin and DoT/DoH doesn't do the job #6

Open oijkn opened 3 years ago

oijkn commented 3 years ago

I wanted to try your docker on my Raspberry Pi 4 OS Lite but I can't access the PiHole interface via port 10080.

My other Docker work fine (example: Portainer) and if I try the pihole/pihole docker everything works fine.

The container logs don't indicate any error and when I do a curl to the url I get a return :

root@rpi-srv:/data/pihole# curl 192.168.1.100:10080
<!doctype html>
<html lang='en'>
    <head>
        <meta charset='utf-8'>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>● 192.168.1.100</title>
        <link rel='stylesheet' href='pihole/blockingpage.css'>
        <link rel='shortcut icon' href='admin/img/favicons/favicon.ico' type='image/x-icon'>
    </head>
    <body id='splashpage'>
        <div id="pihole_card">
          <img src='admin/img/logo.svg' alt='Pi-hole logo' id="pihole_logo_splash" />
          <p>Pi-<strong>hole</strong>: Your black hole for Internet advertisements</p>
          <a href='/admin'>Did you mean to go to the admin panel?</a>
        </div>
    </body>
</html>
root@rpi-srv:/data/pihole#

Do you have any idea why it doesn't work, please ?

oijkn commented 3 years ago

I was able to reach the container by applying the same port rules as the pihole docker.

image

But when I do the DoH/DoT test from Cloudlfare it doesn't seem to do the job.

image

I have declared the raspberry ip address as DNS in the settings of my network card (Windos 10)

image