Android Century
  • Home
  • Android Zone
    • Android Apps
    • Android Games
    • Apps APk Files
    • Games Apk Files
    • Apps Hack Tricks
  • Reviews
  • Fantasy Zone
    • Entertainment
    • Quotes and Status
    • Life Style
    • Home Made Tips
    • Hair Care
    • Skin Care
    • Fantasy Tips
  • Tricks
    • Free Recharge
    • Free Internet
    • shopping Cashback
    • Recharge Cashback
  • Tech
  • Mobiles
  • Gadgets
  • News
  • How To's
  • Software
Breaking
Loading...

Featured post

How to Take Great Photos With Apple's iPhone X

Recent Posts

Labels

  • Android Apk Files
  • Android Apps
  • Android Games
  • Apps Apk Files
  • Entertainment
  • Fantasy Tips
  • Gadgets
  • Hair Care
  • HomeMade Tips
  • How To's
  • News
  • Quotes
  • Quotes & Status
  • Recharge Cashback
  • Recharge Promo Codes
  • Shopping Cashback
  • Technology
  • skin care
Home / How To's / How to Reset the DNS Cache on macOS

How to Reset the DNS Cache on macOS

Unknown 02:37:00 How To's Edit
If you work on websites, you’ll occasionally need to reset your computer’s DNS cache, particularly after editing records or changing hosts. While flushing the DNS cache on Windows is easy with a dedicated command, Mac users have to use a bit of a workaround.

Clear Your DNS Cache on Your Mac

To clear your DNS cache on your Mac, open the Terminal, which you can find in Applications > Utilities or by searching with Spotlight, and then run the following command:
sudo killall -HUP mDNSResponder
Enter your password when it’s requested.
So, what does this command actually do? What’s happening here is that you’re kind of tricking your system into flushing the cache. Wikipedia explains:
The SIGHUP signal is sent to a process when its controlling terminal is closed. It was originally designed to notify the process of a serial line drop (a hangup). In modern systems, this signal usually means that the controlling pseudo or virtual terminal has been closed. Many daemons will reload their configuration files and reopen their logfiles instead of exiting when receiving this signal. nohup is a command to make a command ignore the signal.
Obviously you don’t need to know all of the rest of that. But now you do.
There’s a lot of conflicting information on the web about this procedure. Some sites claim you need to run more commands than this on High Sierra, for example, while others make this command unnecessarily long. So far as we can tell, however, the command above is all that’s actually necessary. Here’s how to check your work.

Check if Your DNS Is Actually Reset

Not sure if your DNS reset actually worked? Closing your web browser before flushing the cache can help in some situations, but if that doesn’t seem to be working you can quickly verify that your cache is empty in two ways.
The first is site-specific. At the Terminal, type dig followed by the site’s URL. For example:
dig howtogeek.com
In the “Answer Section” of the results, you’ll see the IP address that your computer knows for the site listed.
If you don’t see the new IP address, consider changing DNS settings on your Mac and flushing the cache again.
For a more global (non site-specific) method, you can also confirm that the cache is reset with the Console, which you can find in Applications > Utilities or by using Spotlight. With your system highlighted in the left panel, type “mDNSResponder” into the search box, hit Enter, type “Cache size” alongside that first query, and then hit Enter again. Like this:
Now, with your Console window still open, head back to your Terminal window and run the following command:
sudo killall -INFO mDNSResponder
You should see the DNS Cache size highlighted in the Console window. Now run this command:
sudo killall -HUP mDNSResponder
And then, run this command once again:
sudo killall -INFO mDNSResponder
You should see the cache size change in the Console window. In the screenshot above, you can see that our cache size changed considerably after issuing the commands.
Share on Facebook Share on Twitter Share on Google Plus

RELATED POSTS


How to Get Free Internet on Idea An...

How to Use DroidVPN App For Free In...

How to HACK Google Play Music App
How to Reset the DNS Cache on macOS How to Reset the DNS Cache on macOS Reviewed by Unknown on 02:37:00 Rating: 5

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments ( Atom )

Search This Blog

TEST BOOK FOR GOVT ENTRANCE TEST

TEST BOOK FOR GOVT ENTRANCE TEST
Find All Latest book for preparation of SSC,RAILWAYBANK PO,RBI,BANK CLERK,GATE ME,GATE CE are available here in less prices, to check out the books click here

Translate

  • Popular Post
  • Random posts
  • Category

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & Earn Offer:  Hey Guys! Today I make an article about Teen Patti Referral ...
  • Hands-on with the home windows 10 Creators update for the Xbox One: Beam recreation streaming arrives
    The Windows 10 Creators Update is here, now—yes,  now —but not (officially) on the PC. The ...
  • Taotronics TT-BH22 Headphones Review
    We make it a addiction to now not look up pricing of a product sooner than reviewing and if ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on Monday strongly condemned North Korea’s latest missile test, adding that the ...
  • Bank wallets growing faster than e-wallets
    In the  bank  versus  e-wallets  sweepstakes,  lenders  have now gained lost ground. As of ...
  • Reliance Jio to offer sharp tariff discounts for customers signing up by March-end
    Reliance Industries' Jio unit will charge a tariff for its services from April, but will offer ...

Random Posts

  • LG G7 not delayed after all
    LG G7 not delayed after all
    28.01.2018 - 0 Comments
    LG has denied reports that its G7 flagship has been delayed. Instead, the company says the launch is on…
  • Here's the best free alternatives to Adobe Creative Cloud of 2017
    Here's the best free alternatives to Adobe Creative Cloud of 2017
    04.03.2017 - 0 Comments
    Free alternatives to Adobe CC Starting next month, Adobe is raising the price of its Creative…
  • Microsoft Partners Intel for Project Evo; Outlines Hardware Plans to Complete With Amazon Echo, Google Home
    Microsoft Partners Intel for Project Evo; Outlines Hardware Plans to Complete With Amazon Echo, Google Home
    16.12.2016 - 0 Comments
    HIGHLIGHTS Microsoft partners with Intel to help device makers incorporate Home Hub Device makers can…
  • Plex Cloud arrives to help you create your own personal Netflix-style streaming service
    Plex Cloud arrives to help you create your own personal Netflix-style streaming service
    10.03.2017 - 0 Comments
    Setting up a media server is one of those things that we’ve always meant to do but never quite got…
  • ASUS ZENFONE 3 MAX ZC553KL
    ASUS ZENFONE 3 MAX ZC553KL
    11.01.2017 - 0 Comments
    SUMMARY The Asus Zenfone 3 Max ZC553KL mobile features a 5.5 inches (13.97 cm), Full HD, 401 PPI, IPS LCD…

Labels

Android Apk Files Android Apps Android Games Apps Apk Files Apps Hack Tricks Entertainment Free Internet Freecharge Gadgets Games Apk Files How To's Laptops Guide Mobiles Reviews Technology Viral's android zone free recharge

Entertainment

Tricks

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • Steam Now Supports PS4's DualShock 4 Controller
    HIGHLIGHTS ...
  • Lenovo Yoga Book launched in India at Rs 49,990: First Impressions
    Lenovo  has ...
  • This $15 stand turns your Apple Watch into a mini Macintosh
    For all those  ...
  • Grow Hair Faster: How to Make Hair Grow Faster Naturally
    Every woman wants ...
  • MobiKwik - Update E-KYC & Get Rs. 100 Supercash
    MobiKwik - Update E-KYC & Get Rs. 100 Supercash
    Mobikwik - Update ...
  • Fitbit Flex 2017 review
    Fitbit PROS ...

Random Posts

  • 8 Android app shortcuts which can be really useful
    8 Android app shortcuts which can be really useful
    25.03.2017 - 0 Comments
    Sometimes, just saving a tap or two can make you feel so efficient, if not actually more productive. This…
  • Now AMD’s official gaming benchmarks show just how fast Ryzen is against Intel
    Now AMD’s official gaming benchmarks show just how fast Ryzen is against Intel
    03.03.2017 - 0 Comments
    Fancy having a look at some comparative gaming benchmarks pitting AMD’s new Ryzen…
  • smartphones to have facial recognition in 2020
    smartphones to have facial recognition in 2020
    08.02.2018 - 0 Comments
    According to a report by Counterpoint Research, this development could lead to facial recognition becoming…
  • Apple breaks intraday record high for first time since 2015
    Apple breaks intraday record high for first time since 2015
    15.02.2017 - 0 Comments
    Apple's share price hit an intraday record high on Tuesday for the first time in almost two years as…
  • Acer Swift 7  Review
    Acer Swift 7 Review
    12.02.2017 - 0 Comments
    Acer VERDICT The Acer Swift 7 is one of the most gorgeous laptops of the year already, but it cuts a…

Most Popular

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J ...
  • Top 5 Best SmartPhones under 7000 Rs (March 2017)
    Looking for the ...
  • Apple, IBM, Cisco are huge because of Indians, do not deny them H-1B visa: RBI Governor Urjit Patel
    ...
  • SAMSUNG GALAXY J7 (2016) Specifications
    SAMSUNG GALAXY J ...
  • BlackBerry Teases Marshmallow Beta Testing for Priv by Next Week
    Blackberry ...
  • LG Q6 Review
    LG Q6 Review
    2017 is ...

Contact Form

Name

Email *

Message *

Offers Zone

Created By Android Century Distributed by Android Century
  • Home
  • About us
  • Contact us
  • Privacy policy
  • Terms of use
  • Advertise here
Subscribe Via Email Subscribe To Android Century By Email And Get Free Updates. ;-)


Your email address is safe with us!