Windows 2019
Sponsored Link

DNS Server : Add Forward lookup Zone2019/03/21

 
Add Forward lookup Zone.
On CUI configuration, Run PowerShell with Admin Privilege and Configure like follows.
[1] For example, Add Forward lookup Zone with settings of Zone-Name [srv.world], Zone-File [srv.world.dns].
Generally, set your domain name or portion of domain name for this Zone-Name.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\Administrator> Add-DnsServerPrimaryZone -Name "srv.world" -ZoneFile "srv.world.dns" -DynamicUpdate None -PassThru 

ZoneName                            ZoneType        IsAutoCreated   IsDsIntegrated  IsReverseLookupZone  IsSigned
--------                            --------        -------------   --------------  -------------------  --------
srv.world                           Primary         False           False           False                False

PS C:\Users\Administrator> Get-DnsServerZone 

# [srv.world] has been added
ZoneName                            ZoneType        IsAutoCreated   IsDsIntegrated  IsReverseLookupZone  IsSigned
--------                            --------        -------------   --------------  -------------------  --------
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
srv.world                           Primary         False           False           False                False
TrustAnchors                        Primary         False           False           False                False

# if remove it, run like follows
PS C:\Users\Administrator> Remove-DnsServerZone "srv.world" -PassThru 

Confirm
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y

ZoneName                            ZoneType        IsAutoCreated   IsDsIntegrated  IsReverseLookupZone  IsSigned
--------                            --------        -------------   --------------  -------------------  --------
srv.world                           Primary         False           False           False                False
DNS Server : Add Forward lookup Zone (GUI)
 
On GUI configuration, set like follows.
[2] Run Server Manager and select [Tools] - [DNS].
[3] Select own Hostname on the left pane and right-click the own Hostname to show menu on the left pane, then select [New Zone...].
[4] Click [Next] button.
[5] Check a box [Primary zone] and click [Next] button.
[6] Check a box [Forward lookup Zone] and click [Next] button.
[7] Input Zone name. As the description on the screen-shot below, set domain name or portion of domain name for this zone name.
[8] Set zone-file-name and click [Next] button. It's OK to keep default for zone-file-name.
[9] Click [Next] button with keeping default.
[10] Click [Finish] button.
[11] A new zone has been created under the Forward lookup Zone.
Matched Content