
If the DNS cache gets corrupted, or there are other issues with it, that translation fails which results in interrupted browsing sessions.įlushing the DNS cache helps fix these issues on your Mac. Ipconfig Mac Just like you you can open command prompt in Windows and hit ipconfig to get your local LAN/WLAN IP address, you have the same option on a Mac in OS X with the command ifconfig.
#HOW TO IPCONFIG ON A MAC MAC OS#
If you are using Mac OS X, the command ipconfig grep inet displays detailed information about your computer's signification in the.
#HOW TO IPCONFIG ON A MAC HOW TO#
As you might already know, DNS translates your domain names to IP addresses. Ipconfig Mac OS X egeek Egeek.io How to get your local IP address with Ipconfig equivalent for Mac OS X. When Terminal has launched, type the following command: ipconfig getifaddr en0 (to find your IP address if you are connected to a wireless network) or ipconfig getifaddr en1 (if you are connected to an Ethernet). This is because of how the DNS works on your computer. Related: What Is a DNS Server and Why Is It Unavailable?Ĭlearing the DNS cache helps fix some browsing-related issues. This includes any DNS error messages you see in your browsers as well as any apps you use on your Mac. Generally, you should clear the DNS cache when you experience DNS-related errors on your Mac. Why Should You Flush the DNS Cache on a Mac? To determine the DNS server a Mac’s network interface is set. Type command in the search box (Start->Run for Windows XP) and press Enter. We’ll show you how to do just that on your Mac. To display a Mac network interface’s subnet mask, enter this command: ipconfig getoption en1 subnetmask. Get your computers Wired or Wireless MAC address from the Command Prompt Screen: Select the Start button. You can clear this cache without harming anything on your Mac, and this can potentially fix your website-loading issues.ĭepending on the macOS version you use, you need to execute a particular command in Terminal to get rid of all your DNS cache content. Are you having trouble loading websites in your browsers? A possible culprit is your DNS cache.
