This short article will walk you through resetting or flushing DNS settings on your Mac running Mojave version. It is useful and can be effective solutions to Internet connection problems, including slow browsing or intermittent Internet connection on your Mac. Read on this post to know more.
What is DNS? How does it work?
Those who don’t know, DNS stands for Domain Name System, a database or domain names. Each of these domain names will read a unique IP (Internet Protocol) addresses. DNS usually serves as a phone book of the Internet in terms of the layman. The main work of DNS is translating readable information such as website, or other Internet resources into the real addressing protocols. Computers will use these protocols (IP) addresses to find information on the web. For instance, when entering a URL in the web browser, the ISP will show the domain name, find its compatible IP address and direct the Internet connection to the correct website.
Best DNS For Your Mac
In Mac devices, OpenDNS is always the recommendation. Here are examples of OpenDNS: 184.108.40.206 and 220.127.116.11. But, if the Internet is not loading well with OpenDNS, Google’s Public DNS can be a good alternative. Public DNS is for IPv4 access, which is 18.104.22.168 and 22.214.171.124.
For IPv6 access, they are 2001:4860:4860::8888 and 2001:4860:4860::8844. You can set these addresses as the primary or secondary DNS server.
Although DNS is not directly connected to the Internet speed, it’s still an important factor that affects the loading speed of a web page on your computer. Below are the fastest free and public DNS servers to date:
- Comodo Secure DNS
- Norton ConnectSafe
Flush or reset DNS server settings on Mac
You can easily change the DNS server settings on your Mac whenever the Internet issues occur. If the problem is related to errant DNS caches, flushing DNS server settings is an ideal solution. When the problems are tied to corrupt DNS, you should reset DNS server settings. Follow these steps below to flush DNS on your Mac running MacOS Mojave version.
Flush Cached DNS on MacOS Mojave
Slow internet browsing problem is associated with a stale DNS cache. DNS cache is a temporary database that could help to speed up DNS lookups through storing records of all network requests. Instead of memorizing IP addresses of your commonly visited website, your computer will tap into a cached table of DNS lookups to find out which web resource to load. Cache serves for good purposes, but, sometimes, it can trigger some problems in case it gets corrupt over time. A corrupted DNS will cause intermittent issues with loading websites. To clear it out, flushing or resetting DNS cache or settings on your computer is a recommended solution. This will clear or delete invalid items from your DNS cache. You should not worry since the process does not affect the browsing history, web data, your saved passwords or other temporary Internet files saved as cached files.
Here is how to flush DNS cache on Mac running macOS Mojave version:
- Open Terminal app on your Mac.
- In the Terminal interface, copy and paste this command into it:
sudo killall -HUP mDNSResponder; sleep 2;
- Hit the Enter key.
- Enter the password of your Mac and press Enter again to continue.
- Next, close Terminal with they key shortcut: Command + Q.
Your DNS cache is already cleared or flushed.
When to flush or reset DNS on your Mac?
It’s necessary to clear DNS cache since the name servers might not fix the correct IP when your DNS is cached. As a result, you will be routed to a cached website or fail to set up a connection to that website.
Resetting DNS server settings is a good solution to get rid of connectivity issues, DNS spoofing when a website has moved servers.
Additionally, flushing DNS cache also stops DNS hijacking, fix page-loading problems, prevent interruptions from recent changes, protect your computer from malware, and enforce network settings change.
You should also clear/flush DNS before moving on to Google DNS or Open DNS servers as the main DNS for your computer.
Another simpler way to reset or flush DNS on your Mac is to use third-party software such as CleanMyMac X, CCleaner Professional, Intego Mac Washing Machine X9, Macbooster 7, and AppCleaner. You can also consider any of these alternative tools if you feel Terminal commands are difficult to use. Simply download any of these tools on your Mac and install it when it’s necessary. However, make sure to read the requirements to verify that the software works well with your Mac and supports MacOS Mojave version. To take advantage of some clues on the tool, you should read prior reviews.
How to test DNS server?
Once you configure DNS server settings on your Mac, you can then start using Network Utility. Here is what you should do:
- Launch the Network Utility app on your Mac. You can find it in System/Library/CoreServices/Applications
- From there, click on Lookup and then enter an Internet address to look up.
- Enter a domain or a numerical IP address for a website that you know.
- Finally, click on the Lookup button to confirm DNS search.
If you want to know which DNS server that is being used on your Mac, and more advanced DNS server settings configuration, you can contact your Internet service provider (ISP) to know more information. To get rid of major Internet problems on your Mac tied to DNS server settings, you can also ask for help from the Apple-Mac Support team.
With the method above, we hope you can fix the problem with your Mac running Mojave version. If this post is useful, let’s know in the comment below and share this post to other readers. Thank you so much!