how to setup 2 domains on 2 separate Domain Controllers within same subnet?

I'm looking to implement two domains on two separate DC's within same subnet. One will be forest domain and the other will be a child domain. For eg. Domain "test.com" will be forest domain with ip "192.168.1.2" on DC "A" and domain "test.local" will be a child domain (of forest domain "test.com"), with ip "192.168.1.3" on DC "B".

What's the best way to set this up with respective DNS lookup settings, so that servers in domain test.com can be resolved in DNS of domain test.local on DC "B" and similarly servers in domain test.local can resolve in the DNS of domain test.com in DC "A" .
Firdausi ImamSr. Systems ConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MaheshArchitectCommented:
when you say child domain, it is like domain.com is root and child.domain.com will be child domain

What you have mentioned is two tree domains, one is forest root domain and other is tree root domain

The 1st domain you install, it will be treated as root domain
The 2nd domain you install will be considered as tree root domain

I assumed that this is for lab setup, its Ok to install it on single single server
If its production setup, you need at least two servers for each domain

1st create forest root domain
then point another server to forest root domain and then create another tree root domain on that server
after that, create conditional forwarder on both servers pointing to each others domain, that way name resolution will work

Google how to create conditional forwarders in AD environment

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Firdausi ImamSr. Systems ConsultantAuthor Commented:
Thanks Mahesh!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.