gliderlabs / resolvable

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

Config recommendations for resolvconf #5

Open mgood opened 9 years ago

mgood commented 9 years ago

The documentation should provide more information on how to work with the "resolvconf" tool used to generate "resolv.conf".

This should include the options to bind-mount the proper config file, and how to trigger the "resolvconf" tool on the Docker host after "resolvable" has started.

ekristen commented 8 years ago

You could map /tmp/resolv.conf to /etc/resolvconf/resolv.conf.d/head, and I'm pretty sure that upstart has a dbus that can be connected to and told to restart the resolvconf service which would make this work.

I could really use this feature, but I'm not efficient enough in golang to make this happen.

ekristen commented 8 years ago

@mgood thoughts?