aacebedo / dnsdock

DNS service discovery for Docker containers
MIT License
606 stars 91 forks source link

DNS Forwarding only tries the first of multiple name servers #74

Closed febbraro closed 8 years ago

febbraro commented 8 years ago

If you configure multiple name servers via -nameserver=10.10.10.2:53,8.8.8.8:53 and try to resolve a name that does not end in .docker (or whatever you have configured -domain to be) you will see that it only tries the first server, prints a log message that it is trying the next server, but then just sends the failure response and returns.

PR #73 will try all name servers and will only fail when each of those name servers have failed to resolve.

aacebedo commented 8 years ago

Fixed in #73