DNS Server
Windows Server 2022 DC
The guide on how to work with the DNS Server on Windows Server 2022 DC
- After starting the VM, you will find a shortcut on the desktop that you should run.
- Creating Forward Lookup Zone
Step 1. Open the server manager dashboard.
Step 2. Click Tools -> DNS
Step 3. Expand the DNS server in the DNS manager console. Right-click on Forward Lookup Zones.
Step 4. Click on New Zone.
- Click Next.
- Choose the primary zone. If your server is part of Active Directory, you can choose “Store the zone in AD” (Optional).
- Provide the zone name and click Next.
- Choose “Create a new file with this ….” and click Next.
- Choose “Do not allow dynamic updates” or “Allow only secure dynamic updates” if your environment is part of the Active Directory
- Click Finish.
Adding Host Record in a Forward Lookup Zone
- Open the DNS manager console and right-click on the forward lookup zone where you want to create a host record.
- Click on New Host (A or AAAA).
- Provide the name (which will become FQDN in the form support.mydomain.com) and IP address.
- Click ‘Add Host‘, and you are done.
DNS Firewall Ports
The following firewall ports will need to be open if there is a firewall appliance between your DNS server and clients.
Incoming open ports:
TCP/53
UDP/53
Outgoing open ports:
TCP/53
UDP/53
For setting up Azure firewall rules, refer to – Azure Network Security Groups