Make sure your logged in as ROOT
Now use a text editor
# vi /etc/resolve.c
Now enter the domain and then name server
We can also use search instead of domain, here we have an option to enter in till 6 domains and sub domains.
Search Microsoft.com east.microsoft.com
Now save the etc/resolve.conf file