Open "Control Panel" and then On "Add/Remove Windows Components":

Click "Details..." button on "Networking Services":

Tick "Domain Name System (DNS)" and then click "OK" button. Click "Next" button to finish DNS service installation.

