How to Flush DNS and Get New Dynamic IP
Some times it is necessary to flush DNS to refresh internet services you are using in case of any service interruption. Flush DNS to get a new name resolution. Also flush DNS cache when you can’t access a newly registered domain name. You can simply flush your computer DNS cache anytime to get new entry. We discuss here that how can we flush DNS using MAC, PC or Linux and how to get a new dynamic IP address from IP server in Windows.
Requesting New IP Address
Flush DNS and request a new IP address from your ISP server by following these steps.
- Click Start
- Click run
- In the run box type cmd.exe and click OK
- When the command prompt opens type the following. ENTER after each new line.
- ipconfig /flushdns
The Commands are:
ipconfig/flushdns ipconfig/release ipconfig/renew
Fluch DNS for Windows
To flush DNS cache in Microsoft Windows (Win XP, Win ME, Win 2000) follow these steps.
Start -> Run -> type cmd
– in command prompt, type ipconfig /flushdns
Fluch DNS for Linux
flush the DNS cache in Linux, restart the nscd daemon.
– To restart the nscd daemon, type /etc/rc.d/init.d/nscd restart in your terminal
– Run the command and linux DNS cache will flush.
Fluch DNS for MAC OS X Leopard
flush the DNS cache in Mac OS X Leopard by following these steps.
– type lookupd -flushcache in your terminal to flush the DNS resolver cache.
ex: bash-2.05a$ lookupd -flushcache
– Once you run the command your DNS cache (in Mac OS X) will flush.
Fluch DNS for MAC OS X
flush the DNS cache in Mac OS X by following these steps.
– type dscacheutil -flushcache in your terminal to flush the DNS resolver cache.
ex: bash-2.05a$ dscacheutil -flushcache
– Once you run the command your DNS cache (in Mac OS X Leopard) will flush.