Domain Name System (DNS) is one the key role in Windows Domain that provides computer name-to-IP address mapping name resolution services to computers and users.
This Role is installed with Active Directory, however as a best practice, you can install and setup DNS role before your active directory as well.
Open “Server Manager”, Click “Add roles and feature”
![](https://mushaaf.net/wp-content/uploads/2022/01/image-58.png)
Click on Next to continue
![](https://mushaaf.net/wp-content/uploads/2022/01/image-59.png)
Select “DNS Server” and Click on Next to continue.
![](https://mushaaf.net/wp-content/uploads/2022/01/image-60.png)
.Net framework 3.5 and 4.7 are auto selected if not then select and click Next to continue.
![](https://mushaaf.net/wp-content/uploads/2022/01/image-62.png)
Click Next to Continue.
![](https://mushaaf.net/wp-content/uploads/2022/01/image-63.png)
Click on install to continue and it take few minutes in installation process
![](https://mushaaf.net/wp-content/uploads/2022/01/image-64.png)
Installation process is compeletd, now click on Close.
![](https://mushaaf.net/wp-content/uploads/2022/01/image-66.png)