•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

在Mac上如何清除DNS緩存

  • Home
  • Client
  • Qa Forum
  • 在Mac上如何清除DNS緩存

Posted By: Wouter | 1 Replies | Last Reply On: May 23, 2017 00:54:33

如何清除Mac上的DNS緩存?

Psychz - Girish

Votes: 0Posted On: May 23, 2017 00:54:33
 

Generally, when the URLs stop resolving the way they should, it is time to clear or flush the DNS nameserver local cache.

How to Clear DNS Caches in Mac OS X Yosemite or El Capitan?

To reset the DNS cache in Mac OS you need to find the Terminal app

 /Applications/Utilities/

You need to clear both UDNS (Unicast DNS) and MDNS (Multicast DNS) with two different commands to fully reset the DNS caches in the most recent version of OS X.

Command to clear MDNS Cache

sudo discoveryutil mdnsflushcache


Command to clear UDNS Cache


sudo discoveryutil udnsflushcaches (Here the command has caches as plural, a small syntax variation)

 

Clearing DNS cache in other versions of Mac OS
 

Version: X Mavericks, Mountain Lion, and Lion (OS X v10.9.5 and earlier)


sudo killall -HUP mDNSResponder


 Version: Mac OS X Snow Leopard (OS X v10.6 upto v10.6.8)


sudo dscacheutil -flushcache

Was this reply helpful?

Related topics

  • 新的嚴重的DDoS攻擊方法表面;威脅互聯網供應商,企業
  • 什麼科學的Linux是和它的特點
  • sBlock - Snapshots Create
  • mod_security DDoS Protection
  • Why Gaming Companies are Choosing Bare Metal Servers
  • Psychz Networks expands to Spain, Australia, and Singapore!
  • Nederland Dedicated Server Hosting
  • How to setup a dedicated server for Team Fortress 2
  • How to create Alias
  • How to check DNS status?
  • How To Run Kubernetes on Psychz Networks Bare Metal Servers
  • Dropbox flourishes after migrating to its own infrastructure from Amazon Web Services
  • Data Center Server Level Agreement
  • Colocation cost Europe
  • Cabinets with 20 AMP and 10G bandwidth
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801