Saturday, June 06, 2015

Configuring Ubuntu to resolve Windows host names without DNS

First, install the libnss-winbind package

sudo apt-get install libnss-winbind

Now you need to update /etc/nsswitch.conf .
Change the line

hosts:          files mdns4_minimal [NOTFOUND=return] dns
to be
hosts:          files mdns4_minimal [NOTFOUND=return] dns wins