gliderlabs / resolvable

Host-level DNS gateway for Docker
MIT License
315 stars 37 forks source link

Option to replace all name servers instead of prepending #2

Closed andyshinn closed 9 years ago

andyshinn commented 9 years ago

It might be nice to have an option to replace all nameserver in the resolv.conf instead of just prepending itself. This way it would have better compatibility with musl libc based containers.

mgood commented 9 years ago

Since ef006554e60727fd35da101601105499577b81d4, existing lines in the resolv.conf are commented out when resolvable starts, so it should be the only nameserver entry left uncommented.