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

  • 预览的Windows Server 10的发布
  • 顶级SQL数据库
  • 未计量专用服务器英国
  • 如何修复数据包丢失?
  • 在加利福尼亚的托管专用服务器托管
  • What is the difference between Latency, Bandwidth and Throughput?
  • SSD vs HDD Reliability
  • Reference Architecture (Active-Passive Configuration)
  • NFT Domains - A new generation of domains
  • Mirai DDoS attacks- Then and Now
  • Language
  • How to setup a dedicated server for GMOD (Garry's Mod)
  • How to assign IP address in Centos?
  • Christmas Offers for Dedicated Server
  • CDN Intro
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