Windows 2022
Sponsored Link

DNS Server : Set Forwarder2021/12/23

 
Set DNS Forwarder to transfer queries to other DNS Servers.
On CUI configuration, Run PowerShell with Admin Privilege and Configure like follows.
[1] For example, set [10.0.0.10] as a DNS Forwarder.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\Administrator> Add-DnsServerForwarder -IPAddress 10.0.0.10 -PassThru 

UseRootHint        : True
Timeout(s)         : 3
EnableReordering   : True
IPAddress          : 10.0.0.10
ReorderedIPAddress : 10.0.0.10

PS C:\Users\Administrator> Get-DnsServerForwarder 

UseRootHint        : True
Timeout(s)         : 3
EnableReordering   : True
IPAddress          : 10.0.0.10
ReorderedIPAddress : 10.0.0.10

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

Name                                           Type   TTL   Section    IPAddress
----                                           ----   ---   -------    ---------
dlp.server.education                           A      86400 Answer     10.0.0.30
DNS Server : Set Forwarder (GUI)
 
On GUI configuration, set like follows.
[2] Run Server Manager and select [Tools] - [DNS], next right-click the Hostname and select [Properties].
[3] Move to [Forwarders] tab and Click [Edit] button.
[4] Input Hostname or Ip address you'd like to set as a Forwarder.
[5] DNS Forwarder is just added.
Matched Content