Voltris
Voltris Technical Guide — Verified by Experts

Network CMD Guide: How to Reset IP and Clear DNS Cache Completely

Resolve 'Could not find DNS address' issues, high ping, and disconnections in games with simple commands in the Command Prompt.

3 min read
Level: Beginner
Douglas Felipe M. Gonçalves
Updated in 2026
SCROLL

Technical Summary

ToolCMD (Administrator)
Command 1ipconfig /flushdns
Command 2netsh winsock reset
ResultFresh Name Resolution
RiskZero
RestartRequired after Winsock

01.What is DNS Cache and why clean it?

Windows keeps a list of sites you've visited (e.g., www.google.com -> 142.250.78.100) to load faster next time. If a site's IP changes or the cache file becomes corrupted, you'll see errors like 'DNS_PROBE_FINISHED_NXDOMAIN' or games that won't connect. 'FlushDNS' throws this list away and forces Windows to ask for the new path.

Voltris Network Reset

Executing 5 commands in CMD every time the internet drops is tedious. Voltris Optimizer has a 'Network Reset' button that executes the entire cleaning sequence (IP, DNS, Winsock, Proxy) and restarts the network adapter automatically.

Reset Network Now
Recommended Optimization

Don't do it Manually.

Voltris Optimizer automates this entire guide and removes Windows delay in seconds.

Voltris Logo
Voltris Optimizer
Active Optimization • 0 items verified
Download
+42%
240 FPS
Gaming Average
-15ms
12ms
System Latency
Optimizing Processchrome.exe
Active...
Input Lag ReductionOptimizing threads...
Maximum
System LoadReal-time Optimized

02.Step 1: The Sacred Sequence (IP and DNS)

  1. Open CMD as Administrator.
  2. Release your current IP (disconnects internet momentarily):
    ipconfig /release
  3. Clear the DNS cache:
    ipconfig /flushdns
  4. Request a new IP from the router:
    ipconfig /renew

03.Step 2: Resetting Winsock (Severe Errors)

If step 1 didn't solve it, there might be corruption in the Windows Socket (the API that software uses to access the network). This is common after removing viruses or uninstalling VPNs.

  • In the same CMD, type:
    netsh winsock reset
  • Reset the TCP/IP stack:
    netsh int ip reset
  • RESTART YOUR COMPUTER. (Mandatory).
ADVANCED CONTENT

A1.Automatic .BAT Script

Create your own repairer

Open Notepad, paste the commands below and save as NetRepair.bat. Run it whenever the internet drops.

@echo off
ipconfig /release
ipconfig /flushdns
ipconfig /renew
netsh winsock reset
echo Cleaning Completed!
pause
LEARN MORE

Error: 'The requested operation requires elevation'

If this message appears, you forgot to open CMD as Administrator. Right-click the Command Prompt icon and choose 'Run as administrator'.

Recommended Optimization

Don't do it Manually.

Voltris Optimizer automates this entire guide and removes Windows delay in seconds.

Voltris Logo
Voltris Optimizer
Active Optimization • 0 items verified
Download
+42%
240 FPS
Gaming Average
-15ms
12ms
System Latency
Optimizing Processchrome.exe
Active...
Input Lag ReductionOptimizing threads...
Maximum
System LoadReal-time Optimized
DG

Written by a verified expert

Douglas Felipe M. Gonçalves

Windows Systems Specialist Voltris Optimizer Developer Advanced Technical Support

Expert in Windows system optimization with years of experience in hardware diagnostics, kernel tuning, and advanced technical support. Founder of Voltris and developer of the Voltris Optimizer.

Meet the Voltris Team

Conclusion and Next Steps

By following this guide on Network CMD Guide: How to Reset IP and Clear DNS Cache Completely, you are equipped with the verified technical knowledge to solve this issue with confidence.

If you still have difficulties after following all steps, our expert support team is available for a personalized remote diagnosis. Every system is unique and may require a specific approach.

Official Sources and References

This guide was developed based on official technical documentation and verified sources.

Frequently Asked Questions

Common questions answered by Voltris technical team

Q1.Does FlushDNS improve ping?

Not directly. It solves connection problems (not being able to log in, site not opening). Ping depends on the physical route, but a clean DNS cache avoids initial 'hiccups' when resolving the server's IP.

Q2.How often should I do this?

Only when you're having problems. There's no benefit in doing it every day, as Windows will have to rebuild the cache (which takes a few extra milliseconds the first time you visit a site).

Q3.Did 'netsh int ip reset' command fail?

Sometimes it says 'Access Denied' on one of the lines. This is a known Windows bug related to the Registry. Usually, it can be ignored if 'netsh winsock reset' worked.
Download