Assuming that your nsswitch.conf is set correctly to cache /etc/hosts (hosts db), you need to reload NSCD for this to be cached:
/etc/init.d/nscd reload or you can wait until it times out. I think this bug should be closed. -- nscd ignores /etc/hosts https://bugs.launchpad.net/bugs/62020 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs