lancachenet / lancache-dns

DNS Docker service for a lancache.
https://hub.docker.com/r/lancachenet/lancache-dns/
MIT License
280 stars 73 forks source link

UPSTREAM_DNS issue #100

Closed ACSmith1337 closed 4 years ago

ACSmith1337 commented 4 years ago

Issue Description: Container restarts when specifying multiple upstream dns servers. It works fine with 1.1.1.1 or "1.1.1.1" but fails to run with "1.1.1.1 1.0.0.1"

Docker Run Command:

sudo docker run --restart unless-stopped --name lancache-dns --detach -p 53:53/udp -e USE_GENERIC_CACHE=true -e UPSTREAM_DNS="1.1.1.1 1.0.0.1" -e LANCACHE_IP=192.168.1.12 lancachenet/lancache-dns:latest

Docker Container Output:

sudo docker stats - shows lancache-dns restarting constantly.
VibroAxe commented 4 years ago

Hi @ACSmith1337

Currently we don't support multiple UPSTREAM_DNS correct format will be UPSTREAM_DNS="1.1.1.1; 1.0.0.1" however you will need to wait until pr #101 merges

ACSmith1337 commented 4 years ago

Ah ok. I misunderstood the readme for monolithic. I though it was referring to the lancache-dns not lancache specifically. Thank you!