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

  • 頂級項目管理軟件
  • 遠程桌面服務器
  • 負載平衡解決方案用於Web服務器
  • 熱門來源會幫助你學習的Linux
  • 千兆專用服務器
  • yarn vs npm. Which one's better?
  • cVirtual Compute Types - Dedicated vs Shared
  • What are Redirects and Benefits of it
  • Launch of New Data Center In Sao Paulo, Brazil
  • Image Optimization Intro
  • How to access your dedicated server IPMI?
  • Cheap Minecraft Dedicated Server Hosting
  • CDN Alias Intro
  • Best Dedicated Server Providers in Los Angeles: Top 10 List
  • AMD'S EPYC vs INTEL XEON
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