Skip to content

Instantly share code, notes, and snippets.

@dejanmarkovic
Last active May 4, 2020 19:59
Show Gist options
  • Save dejanmarkovic/7472886 to your computer and use it in GitHub Desktop.
Save dejanmarkovic/7472886 to your computer and use it in GitHub Desktop.
Win7 no restart needed after change in hosts file
hostfile location WIN7
------------------
C:\Windows\System32\drivers\etc
After change in hosts file
1. ipconfig /flushdns will flush the local dns cache.
2. nbtstat -R will flush netbios cache. <----- Should be with Capital "R
3. restart browsers (FF may need 60 seconds to recognise changes)
Chrome
chrome://net-internals/#dns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment