DNS across multiple domains

Luciano Patrão 10 Reputation points
2023-03-13T12:22:08.08+00:00

Hi all,

I have in my home lab two different DNS servers and domains (domain1 subnet 192.168.1.x and domain2 10.0.10.x).

All are working ok separated. Now I needed that both see each other and have updates on both.
Both subnets can ping each other without any problems.

In my DNS server in domain1, I created a secondary zone to Domain2.
In my DNS server in domain2, I created a secondary zone to Domain1.

Both DNS servers can see each other, and records are updated if any changes occur. The problem is when using DNS itself on clients.

What I would like to do, is if a client is using DNS 192.168.1.1 can also resolve the DNS on the 10.0.10.1. Or vice versa. But that doesn't work if I use DNS from domain1 or domain2

I try to set the DNS like 192.168.1.1 from domain1 and the second DNS 10.0.10.1 from domain2, also doesn't work. Only resolve IPs from the first DNS I set in the client. Never check the second.

What is the best way to achieve this?

Thank Yoy

LP

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Konstantinos Passadis 19,591 Reputation points MVP
    2023-03-13T12:26:14.27+00:00

    Hello @Luciano Patrão

    Welcome to Microsoft QnA

    The feature you are looking for is DNS Forwarder!

    https://dnsmadeeasy.com/post/what-is-dns-forwarding

    it is embeded on DNS Server and you can activate it on both sides

    So when a client needs to resolve the other side names , the DNS will Forward the queries to the other DNS server

    I hope this helped you !

    Please set the answer as accepted in case you found it helpful and upvote!

    Best regards!


  2. Luciano Patrão 10 Reputation points
    2023-03-14T08:10:45.6833333+00:00

    As I said, DNS forward is set on all DNS servers(domain1 and domain2) and doesn't work.

    For testing, I also created a conditional forward for the Domains, but it is still not working.

    Does anyone have ideas on how to configure this?

    Thank You

    0 comments No comments

  3. Konstantinos Passadis 19,591 Reputation points MVP
    2023-03-29T23:53:45.3166667+00:00

    Hello @Luciano Patrão

    I read your info and depicted a quick diagram since i do not have the time to lab it

    I would suggest to remove the secondaries from each domain

    I believe it does not make sense to keep zones if you need to resolve separately

    Could you kinldy post any updates ?

    In case you found my Answer helpful please mark it as Accepted!

    BR

    0 comments No comments

  4. Luciano Patrão 10 Reputation points
    2023-03-30T10:25:54.4033333+00:00

    To fix this problem I added Domain A in Domain B as a second zone. Did the same in the Domain B secondary Domain A

    Then added Named Servers from both domains. Added in the secondary zone the DC Master.

    Created also Reverse Lookup Zones, in DCs from Domain A and Domain B.

    This did work and now all clients can resolve Domain A and Domain B


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.