•  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

  • 顶尖的开源云存储软件
  • 用于服务器的最佳开源监控工具
  • 在比较:Ubuntu的VS Linux Mint的
  • cVirtual Supported Operating System
  • Scaling your Business with a Dedicated Server and Containers
  • Psychz Networks - Poised to grow Stronger and Bigger with Launch of Chicago Datacenter
  • Private Network - Intro
  • IP's for Psychz Networks CDN edge servers
  • How to rsync two directories
  • Gaming Dedicated Server
  • Enable/Disable WebSocket
  • Discount for bulk dedicated server order
  • Dedicated Servers In US
  • Colocation server configuration
  • Cheap Dedicated Server In India
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