zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Mac OS X 10.8 flush DNS cache

February 25, 2013 by Igor Drobot Leave a Comment

DNS-Cache

I came across this Apple specific DNS cache situation this morning.
I changed a DNS record for my GIT-server and was trying to access it again, the DNS was still showing the old IP-Address. After some attempts to clear Linux DNS cache with “rndc flush” I recognized that dns is was cached by my Mac.

Mac OS X keeps a local cache of successful resolved DNS queries for a time defined by the DNS server.

To clean DNS Cache in Mac OS X versions 10.7 and 10.8, run this command from your Terminal:

1
sudo killall -HUP mDNSResponder

sudo killall -HUP mDNSResponder

Filed Under: Apple, Networking Tagged With: Apple, DNS, DNS cache, MAC OS X

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok