How to Set Up a Static DNS Server on a Windows Client
Point the client at a specific DNS resolver instead of using DHCP-assigned DNS.
Step-by-step
- Press Win+R, type ncpa.cpl and press Enter
- Right-click the adapter > Properties > select IPv4 > Properties
- Choose 'Use the following DNS server addresses'
- Enter Preferred and Alternate DNS servers (e.g. 8.8.8.8 / 8.8.4.4), then click OK
Reference: learn.microsoft.com