DNS Delegations

Dario 21 Reputation points
2021-09-26T08:43:38.587+00:00

Hello

I have, I think, simple question about DNS Delegations.
My test environment contains two Windows DNS servers (2012R2), with different zone names. Can I create delegation between those two zones?

For example:
First DNS server:
sub domain: lab.example.test

will point to:

trainers.labs on second DNS server.

Is it possible?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,083 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 95,496 Reputation points MVP
    2021-09-27T19:11:34.383+00:00

    Hi @Dario ,

    if I got you right:

    DNS 1 - Namespace 1 = lab.example.test
    DNS 2 - Namespace 2 = trainers.labs

    Is this right?

    If so, you can't use DNS delegation because both namespaces aren't in the same hierarchy.
    DNS Zone delegation works only within the same namespace hierarchy.

    A delegation is a record in a parent zone that lists a name server that is authoritative for the zone in the next level of the hierarchy.

    https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/reviewing-dns-concepts#delegation

    For instance this delegation will work -> sharing the same namespace hierarchy:
    lab.example.test
    trainers.lab.example.test

    If DNS1 should be able to resolve trainers.lab DNS names the DNS conditional forwarding will do the trick. Create a conditional forwarder for trainers.labs on DNS1 (use IP of DNS2 as target DNS) and if required a conditional forwarder for lab.example.test on DNS2 (use IP of DNS1 as target DNS).


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten


1 additional answer

Sort by: Most helpful
  1. Limitless Technology 39,336 Reputation points
    2021-09-27T18:33:39.723+00:00

    Hello @Dario

    Yes you can create DNS delegations between zones. Please have a look on below Microsoft article.

    https://learn.microsoft.com/en-us/powershell/module/dnsserver/add-dnsserverzonedelegation?view=windowsserver2019-ps3
    https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/reviewing-dns-concepts

    ----------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments