lancachenet / lancache-dns

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

Enable DNS forwarding #20

Closed ehazlett closed 6 years ago

ehazlett commented 7 years ago

This adds support for specifying an upstream DNS server, for example if you already have a DNS server on your network. If the UPSTREAM_DNS variable is specified, a forwarders option will be configured and any request not handled by the steamcache zones will be forwarded to the designated upstream.

If you want to test it, you can use my Docker hub image: ehazlett/steamcache-dns

Copter64 commented 7 years ago

Thank you for the awesome contribution. I am working on an infrastructure to keep our internet bandwidth down, and this will be a big help. Do you happen to know why it will correctly resolve a FQDN and not a root domain? For example test.contoso.com works, but contoso.com does not resolve correctly. I am currently pointing the forwarder to our internal DNS server. Thanks much for any time you have on this.

Thanks, Chris

ehazlett commented 6 years ago

:tada: thanks!

ehazlett commented 6 years ago

@Copter64 sorry i didn't see your comment :( i'm not sure why it wouldn't resolve. my use is pretty simple but i haven't ran into that.