Configuration and connection to DNS Server on Windows Server 2022 DC Azure Edition
For the connection to the server you should know the IP address of the VM. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line of “Public IP Address”).
For the VM to work, you need to open TCP/UDP ports 53 in Azure Firewall
Connecting to the VM
- To connect to the virtual machine, run the “Remote Desktop Connection” shortcut “Win + R”
In the window that appears, enter “mstsc” and click “OK”.
- In the window that appears, enter the IP of the virtual machine and click “Connect”.
- In the window that appears, enter your username and password and click “OK”.
- Check the box and click “Yes”.
- To run DNS click ‘DNS’ shortcut on the desktop
Creating a new Forward Lookup Zone
- Right click on server and select “New Zone”.
- Click Next.
- Choose the primary zone. If your server is part of Active Directory, you can choose to “Store the zone in AD” (Optional)
- Click ‘Next’
- 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 Active Directory
- Click Finish.
Adding Host Record in a Forward Lookup Zone
- Open the DNS manager console and right-click your forward lookup zone where you would like to create a host record.
- Click New Host (A or AAAA)
- Provide the name (and this will become FQDN in the form support.mydomain.com), and IP address
- Click ‘Add Host‘ and you are done.
Now you can work with completely clean DNS Server on Windows Server 2022 DC Azure Edition