AITS - Service Desk - DNS - How Do I Reset my DNS?
Domain Name Service (DNS) translates a human-readable domain name address (like www.illinois.edu) into a machine-readable IP address (like 130.126.157.20).
Your computer's DNS cache stores DNS query results for a period of time. On rare occasions, it may be necessary to reset your DNS cache.
This article details how to reset your DNS.
Windows
- Click the start icon and type "Command Prompt."
- Right click on Command Prompt and press "run as administrator."
- When asked whether to allow Command Prompt to make changes to your computer, select Yes. (if you are not an administrator or do not have administrator access you will need to contact your local IT)
- Open Command Prompt
- Type the command ipconfig /flushdns then press enter
- Type the command ipconfig /registerdns then press enter
- Type the command ipconfig /release then press enter
- Type the command ipconfig /renew then press enter
- Type the command netsh winsock reset then press enter
- Restart the computer
Mac
- Close all browser windows.
- Open Terminal. You can do this by pressing the Command key Space Bar at the same time to open your Spotlight Search. Or click the magnifying glass in the top right hand corner. Then type "terminal." Click on Terminal.
- In the Terminal window, type the corresponding command for your Mac OS X version:
MacOS Version Command macOS 12 (Monterey) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
macOS 11 (Big Sur) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
macOS 10.15 (Catalina) sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
macOS 10.14 (Mojave) sudo killall -HUP mDNSResponder
macOS 10.13 (High Sierra) sudo killall -HUP mDNSResponder
macOS 10.12 (Sierra) sudo killall -HUP mDNSResponder
OS X 10.11 (El Capitan) sudo killall -HUP mDNSResponder
OS X 10.10 (Yosemite) sudo discoveryutil udnsflushcaches
OS X 10.9 (Mavericks) sudo killall -HUP mDNSResponder
OS X 10.8 (Mountain Lion) sudo killall -HUP mDNSResponder
Mac OS X 10.7 (Lion) sudo killall -HUP mDNSResponder
Mac OS X 10.6 (Snow Leopard) sudo dscacheutil -flushcache
Mac OS X 10.5 (Leopard) sudo lookupd -flushcache
Mac OS X 10.4 (Tiger) lookupd -flushcache
- Press Enter, then enter your password to finish clearing the DNS cache.