To configure DNS on Windows Server 2019, you can follow these step-by-step instructions:
1. Install DNS Server role:
2. Open "Server Manager" by clicking on the Windows icon and selecting "Server Manager."
3. Click on "Manage" at the top-right corner and select "Add Roles and Features."
5. Expand "DNS Server" and select it.
6. Click "Next" and then "Install" to start the installation process.
7. Wait for the installation to complete.
8. After the installation, open "Server Manager" again.
9. Click on "Tools" at the top-right corner and select "DNS."
10. Configure Forward Lookup Zone:
11.In the DNS Manager, right-click on your server name and select "Configure a DNS Server."
12. Select the zone type (Primary, Secondary, or Stub) and click "Next."
14. Choose the dynamic update settings as per your requirements and click "Next."
- 15. Review the summary and click "Finish."
16. Create Reverse Lookup Zone (optional):
17. In the DNS Manager, right-click on your server name and select "Configure a DNS Server."
18. Choose "Create reverse lookup zone" and click "Next."
19. Select the zone type (Primary, Secondary, or Stub) and click "Next."
20.Enter the network ID or IP address range for which you want to create the reverse lookup zone.
23. Review the summary and click "Finish."
Add DNS Records:
1. Expand the forward lookup zone or reverse lookup zone in the DNS Manager.
2.Right-click on the zone and select "New Host (A or AAAA)."
3. Enter the hostname, IP address, and select "Create associated pointer (PTR) record" if necessary.
Click "Add Host" to create the record.
Configure DNS Forwarders:
1.In the DNS Manager, right-click on your server name and select "Properties."
2. Go to the "Forwarders" tab.
3. Check the option "Enable forwarders" and enter the IP addresses of your preferred DNS servers (e.g., your ISP's DNS servers).
4.Click "Apply" and then "OK" to save the settings.
Test DNS Resolution:
1. Open the Command Prompt as an administrator.
2. Type "nslookup" followed by the hostname or IP address you want to resolve.
3. Press Enter to see the DNS resolution results.
That's it! You have now configured DNS on Windows Server . Remember to adjust the configuration according to your specific network and domain requirements.