Ubuntu with DNS problems

At work we need to manage multiple windows domains.
After a fresh install of Ubuntu the only computers I can reach are the ones in our primary domain.

To reach the other computers I need to edit /etc/nsswitch.conf
This file tells Linux where to look for name service information. It should look like this:

hosts:            files dns
networks:     files dns