Question : setup dns resolving for hosts in different domain / subnet

I have the following scenario on a VMWare ESX farm:

Currently, 3 different companies have virtual machines across several ESX hosts in the same building.
each company has it's own virtual windows servers and have their own vlan and ip-subnet.
each company has it's own internet connection and physical firewall

there is a single router connected to all vlans and i can ping from each subnet to the other.
this is done, because the two other companies share some printers that belongs to the primary company.

i can connect to a networkshare on company1's fileserver from a workstation on company's2 network based on ip. so for example \\192.168.1.1\data.

What i would like to accomplish is DNS resolving for these hosts.
all hosts have unique hostnames
each network has it's own DNS server

how can i setup these DNS servers so i can connect to \\company1-fs\data instead of \\192.168.1.1\data if the workstation i'm on is in 192.168.2.* and so on?

some additional details:
company1: SBS 2003 domain, 192.168.1.*, SBS server 192.168.1.1, gateway 192.168.1.200
company2: SBS 2008 domain, 192.168.2.*, SBS server 192.168.2.1, gateway 192.168.2.200
company3: SBS 2008 domain, 192.168.3.*, SBS server 192.168.3.1, gateway 192.168.3.200

Answer : setup dns resolving for hosts in different domain / subnet

you can configure each DNS server to do Conditional forwarding for each domain to the correct server.

thats is , for example:

configure server A for company1, that it preforms conditional forwarding for domain.company2 and enter server B for company2 as the dns server.

that way when server A or any other client in company1 will try to resolve names in company2 it will get a correct resolution.

a guide with another example on how to configure it:
http://msmvps.com/blogs/ad/archive/2008/09/05/how-to-configure-conditional-forwarders-in-windows-server-2008.aspx

now the servers and client should be able to use FQDN names that is - printer1.company2.com from company1 .

to support short name resolution as you requested you will need to enter DNS Suffixes in each client computer and servers.. you could use GPO for this, but here is how to configure a single workstation for you to test , followed by a guide for Group Policy.

http://www.simpledns.com/kb.aspx?kbid=1232 - configure dns suffix

http://technet.microsoft.com/en-us/library/bb847901.aspx - configure dns suffix with group policy

that should solve your needs,
ilantz
Random Solutions  
 
programming4us programming4us