DNSCrypt / dnscrypt-server-docker

A Docker image for a non-censoring, non-logging, DNSSEC-capable, DNSCrypt-enabled DNS resolver
https://dnscrypt.info
ISC License
660 stars 134 forks source link

IPv4 and IPv6 question #49

Closed zzzkeil closed 6 years ago

zzzkeil commented 6 years ago

Hi,

trashvpn is back online on this weekend on new port 443 .

The question is : IPv4 or IPv6 or the Domainname I thinks its better to run the docker container with a "fix" IP-address, but if i run the docker container like this way :

docker run --name=dnscrypt-server -p 443:443/udp -p 443:443/tcp  
jedisct1/dnscrypt-server init -N trashvpn.de -E trashvpn.de:443

Change -E parameter from IP to Domainname .

Are the clients connect over IPv4, if they get the IPv4 address for trashvpn.de and the other clients connect over IPv6, if the get the IPv6 address for trashvpn.de ?

Thanks

jedisct1 commented 6 years ago

I'm not a Docker expert, but I think this will not work, or if it does, it will not support both IPv4 and IPv6.

A while back someone mentioned using [::]:443 as the address to listen to both IPv6 and IPv4. I've never tried that since I don't have IPv6 connectivity, but maybe it does the trick.

zzzkeil commented 6 years ago

Hmm.. ok thanks. I think its better to stay on one format. Server come online with IPv4.