Do DNS configuration automatically if resolvconf is available

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>