Open the Desktop.
Press and hold for a few seconds the network connection icon (in the bottom right corner of the screen).
Select Network and Sharing Center.
Select Change adapter settings.
Select the connection type that you use (wire or wireless).
Open the Properties menu.
Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
Select the point Use the following DNS addresses.
Enter the addresses of the Yandex.DNS mode that you selected in the fields Preferred DNS server and Alternate DNS server and save changes.