--- src/backends/NetworkManagerDebian.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) Index: network-manager.ubuntu.07/src/backends/NetworkManagerDebian.c =================================================================== --- network-manager.ubuntu.07.orig/src/backends/NetworkManagerDebian.c +++ network-manager.ubuntu.07/src/backends/NetworkManagerDebian.c @@ -44,17 +44,17 @@ void nm_system_enable_loopback (void) { nm_spawn_process ("/sbin/ifup lo"); } /* * nm_system_update_dns * - * Make glibc/nscd aware of any changes to the resolv.conf file by - * restarting nscd. + * Invalidate the nscd host cache, if it exists, since + * we changed resolv.conf. * */ void nm_system_update_dns (void) { - nm_spawn_process ("/usr/sbin/invoke-rc.d nscd restart"); + nm_spawn_process ("/usr/sbin/nscd -i hosts"); }