You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue trying to build / test / develop the docker image
Description
For my project I use pihole before unbound and also have internal DoH and DoT support. This means you can connect via DoH and DoT to the pihole.
When I switched from nginx as reverse proxy to traefik 2.0 I encountered problems with DoT feature. Problem was that TCP traffic could not be forwarded to pihole so I let traefik passthrough the DoT TCP stream to nginx to made it work. But I wanted to fully migrate to traefik.
I opend an issue at traefik's forum and got help which led me to this discovery.
Expected Behavior
I had 2 separate networks. One was for communication between the dns containers (doh_server, pihole, unbound, nginx) and one was for communication from traefik (traefik, doh_server, nginx, pihole).
When DoT traffic arrives at port 853 traefik should terminate the TLS connection and forward the traffic through the traefik-network to pihole on port 53. pihole should then make its dns request to unbound on port 53 via the dns-network.
Actual Behavior
When DoT traffic arrives at port 853 traefik terminates the TLS connection and cannot connect to pihole on port 53 to forward the TCP traffic.
Possible Fix
Allow multiple docker networks to connect on port 53.
Steps to Reproduce and debugging done
e.g. your docker run command, pages to visit, CLI commands you ran
docker-compose file is attached as txt, because yaml is not supported. docker-compose.txt
Workaround: Remove additional networks and only use one network.
Works but does not please me.
I have tried destroying my container instance, pulling the newest image version, and re-creating a new container
I have tried running the nearly stock docker run example in the readme (removing any customizations I added) But I run it minimalistic in docker-compose (see attachment)
I have tried running without my volume data mounts to eliminate volumes as the cause
I have searched this repository for existing issues and pull requests that look similar
Context and extra information
Only the alphabetical (name) first network gets a working connection on port 53.
Other port do not seem to be affected
Create networks by hand does nothing
Subnet of network does not affect issue (preset IP vs random IP)
other images do not show this characteristic
Your Environment
Docker Host Operating System and OS Version: Raspbian Buster
Docker Version: 18.09.1
Hardware architecture: ARMv7
The text was updated successfully, but these errors were encountered:
This is a...
Description
For my project I use pihole before unbound and also have internal DoH and DoT support. This means you can connect via DoH and DoT to the pihole.
When I switched from nginx as reverse proxy to traefik 2.0 I encountered problems with DoT feature. Problem was that TCP traffic could not be forwarded to pihole so I let traefik passthrough the DoT TCP stream to nginx to made it work. But I wanted to fully migrate to traefik.
I opend an issue at traefik's forum and got help which led me to this discovery.
Expected Behavior
I had 2 separate networks. One was for communication between the dns containers (
doh_server
,pihole
,unbound
,nginx
) and one was for communication fromtraefik
(traefik
,doh_server
,nginx
,pihole
).When DoT traffic arrives at port 853
traefik
should terminate the TLS connection and forward the traffic through thetraefik-network
topihole
on port 53.pihole
should then make its dns request tounbound
on port 53 via thedns-network
.Actual Behavior
When DoT traffic arrives at port 853
traefik
terminates the TLS connection and cannot connect topihole
on port 53 to forward the TCP traffic.Possible Fix
Allow multiple docker networks to connect on port 53.
Steps to Reproduce and debugging done
e.g. your docker run command, pages to visit, CLI commands you ran
docker-compose
file is attached as txt, because yaml is not supported. docker-compose.txtdocker-compose up -d
docker exec -it pihole bash
apt update && apt install inetutils-telnet -y
telnet 172.16.1.4 53
(works)telnet 172.16.1.4 80
(works)telnet 172.16.2.4 53
(works not)telnet 172.16.2.4 80
(works)telnet <IP address> <port>
if you wantDebug steps I have tried
Workaround: Remove additional networks and only use one network.
Works but does not please me.
docker run
example in the readme (removing any customizations I added)But I run it minimalistic in docker-compose (see attachment)
Context and extra information
Your Environment
The text was updated successfully, but these errors were encountered: