Hello everyone, I’ve been doing a bunch of research to achieve the following:
-
Run dnscrypt-proxy in separate docker container (Container A)
image => dnscrypt-proxy -
Run jdownloader in separate docker container (Container B)
image => jdownloader2 -
Use dnscrypt-proxy container to resolve requests from jdownloader container
Gateway: 172.17.0.1
Container A: 172.17.0.2
Container B: 172.17.0.3
As I understand it, the dnscrypt proxy is located at 127.0.2.1 on Container A.
I have discovered two possible solutions.
- Using --add-host host.docker.internal:host-gateway on Container A and a custom bridge on Container B
- Forwarding traffic on 127.0.0.0/16 and exposing 53/UDP on Container B
Is there a better way to achieve this? Maybe by combining dnscrypt and jdownloader in one single image?