Windows 2022
Sponsored Link

DNS Server : Set Conditional Forwarder2021/12/23

 
Set DNS Conditional Forwarder.
On this setting, it's possbile to transfer specific queries of a domain to specific Server you set.
On CUI configuration, Run PowerShell with Admin Privilege and Configure like follows.
[1] For example, set [10.0.0.10] as a Conditional Forwarder.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\Administrator> Add-DnsServerConditionalForwarderZone -Name "server.education" -MasterServers 10.0.0.10 -PassThru 

ZoneName                            ZoneType        IsAutoCreated   IsDsIntegrated  IsReverseLookupZone  IsSigned
--------                            --------        -------------   --------------  -------------------  --------
server.education                    Forwarder       False           False           False

PS C:\Users\Administrator> Get-DnsServerZone 

# Forwarder zone has been added
ZoneName                            ZoneType        IsAutoCreated   IsDsIntegrated  IsReverseLookupZone  IsSigned
--------                            --------        -------------   --------------  -------------------  --------
0.0.10.in-addr.arpa                 Primary         False           False           True                 False
0.in-addr.arpa                      Primary         True            False           True                 False
127.in-addr.arpa                    Primary         True            False           True                 False
255.in-addr.arpa                    Primary         True            False           True                 False
server.education                    Forwarder       False           False           False
srv.world                           Primary         False           False           False                False
TrustAnchors                        Primary         False           False           False                False

# verify to ask hostname that is not in your DNS Zone but in Forwarder Host
PS C:\Users\Administrator> Resolve-DnsName dev.server.education -Server 127.0.0.1 

Name                                           Type   TTL   Section    IPAddress
----                                           ----   ---   -------    ---------
dev.server.education                           A      86399 Answer     10.0.0.20
DNS Server : Set Conditional Forwarder (GUI)
 
On GUI configuration, set like follows.
[2] Run Server Manager and select [Tools] - [DNS], next right-click [Conditional Forwarders] and select [New Conditional Forwarder].
[3] Input a domain name you'd like to transfer queries of resolving and also input transfer target DNS Server's hostname or IP address.
[4] Conditional Forwarder has been added.
Matched Content