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

  • 购买/ 24区块的IPv4
  • 英特尔至强与i7处理器:如何决定
  • 新的严重的DDoS攻击方法表面;威胁互联网供应商,企业
  • 寻找与多个美国位置和DDOS防护供应商
  • 在欧洲经济实惠的托管
  • 什么科学的Linux是和它的特点
  • 亚太优化的专用服务器所需要的
  • sObject – Sub-User Permissions
  • Support Intro
  • Psychz CDN Products and Features Updates
  • Large Data Backup Solutions
  • How to create Alias
  • How to check DNS status?
  • Dropbox flourishes after migrating to its own infrastructure from Amazon Web Services
  • Create Location
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