Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

DNS in Windows

You can override the DNS server configuration in Windows to use a specific DNS server instead of the one provided by your ISP.

For example, you can use Cloudflare’s DNS servers:

ProtocolPrimary DNSSecondary DNS
IPv41.1.1.11.0.0.1
IPv62606:4700:4700::11112606:4700:4700::1001

Make sure to enable DNS over HTTPS (DoH) in the settings if the DNS server supports it.

To override DNS resolution for specific domains, you can edit the hosts file. Edit the C:\Windows\System32\drivers\etc\hosts file as an administrator with your favorite text editor.

Add lines using the following format, replacing IP_ADDRESS with the IP address you want to use:

172.0.0.42 my-service.local

This example would resolve my-service.local to 172.0.0.42 locally, regardless of your DNS server configuration.