Introduction

After adding your Forward and Reverse Lookup Zones in your DNS Server, what remains is the addition of hosts for resolving. This guide will focus on adding A/PTR Records to your DNS. The good thing about Windows Server is that you can create an A(AAAA) and PTR (pointer record) at the same time. Make sure you have created both Forward and Reverse Lookup Zones for this to work properly.

Previous guides:

Install and Configure DNS Server on Windows Server 2019

How To add DNS Forward Lookup Zone in Windows Server 2019

How To add DNS Reverse Lookup Zone in Windows Server 2019

Step 1: Open DNS Configuration Window

Load up your Server Manager and open DNS from Tools and expand the “Forward Lookup Zones” to expose what we added earlier as illustrated below.

Add Forward Lookup 01

Expand to expose your Forward Lookup Zone

Add A Record 1

Step 2: Create a new A and PTR Record

Right-click the forward lookup zone you would wish to add an A and PTR record to and choose “New Host (A or AAAA)“.

Add A Record 2

Step 3: Key in your sub-domain and corresponding IP Address

My sub-domain is api.computingforgeeks.com here. In this step, if you would wish to create a PTR record at the same time, make sure you check the box against “Create associated pointer (PTR) record“. This makes your work easier. Click “Add Host” after that.

Add A Record 3

Step 3: Confirm by clicking “OK”

A small pop-up will ensue after Step 2. Just confirm by hitting “OK“.

Add A Record 4

Step 4: Confirm that your A/PTR Record has been added

With such simplicity, your records should have reflected as shown below.

A Record

Add A Record 5

PTR Record

Add A Record 6

Step 5: Test that the A record can be resolved

Open up a command prompt or Powershell and issue “nslookup” command. nslookup prompt will be presented as shown below. Keying in the subdomain should show our IP and keying in the IP should resolve to the subdomain.

Add A Record Verify 7

Conclusion

That is all we had for this section and we hope the guide was helpful. Thank you for reading through. In case you are interested in other Windows Server guides, some of them are listed below. Enjoy

Install Latest Packer on Linux / FreeBSD / macOS / Windows

How To Install Applications from Windows command line

How to Allow ICMP Echo Reply on Windows Server 2019

Install and Configure iSCSI Target on Windows Server 2019

How to install OpenSSL on Windows Server 2019

How to run Linux on Windows Server 2019 with WSL

How to enable Remote Desktop Protocol (RDP) on Windows Server 2019

How To add a Local User Account to Windows Server 2019

Install and Configure DHCP Server on Windows Server 2019

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!


As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.

LEAVE A REPLY

Please enter your comment!
Please enter your name here