1

Can I alter the DNS cache of my computer.

When I search online it only shows result to flush DNS cache and not how to alter it. The DNS cache saved on Windows consist of URL,serverIP and many other fields. Can I edit this serverIP field of any cached url on my windows10 ?

2

This can be achieved by adding the desired host entries in the host file.As per my exploration,DNS cache files are not available but you can override DNS cache entries by making entries in system host file.

Reference:https://www.rootusers.com/how-to-use-the-hosts-file-to-fake-dns/

0

The DNS cache is stored in memory only and maintained by the "DNS Client" service (Dnscache).

I doubt there is a build-in way to alter the dns cache, so you'd need to search svchost.exe for strings representing the entry you want to change.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.