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

Mac OS X lock screen

January 25, 2013 by Igor Drobot Leave a Comment

Whenever you leave your place unattended you should protect data of your computer, log out of your system account, or lock it so that anyone who gains access to your workspace will be unable to access the critical programs and data that are accessible through your account.

The advantage [Read more…]

Filed Under: Apple, Mac OS X Tagged With: Apple, lock screen, MAC OS X, MacBook Pro

VNC client Mac OS X

August 28, 2012 by Igor Drobot Leave a Comment

If you try to find a VNC client on MAC OS X you can spend a lot of time but you will not find it, but it there in the core) But, its hidden, security reasons – for sure;)

Open Finder -> Select Go -> Connect to Server…
or simple ⌘K combination

Now like in this screenshot example:

Its really easy – but all this steps must be hidden to have a great feeling of success – apple;)

Filed Under: Apple, Linux, Networking Tagged With: Apple, MAC OS X, VNC

Mac OS X OpenVPN with Tunnelblick

August 28, 2012 by Igor Drobot Leave a Comment

Tunnelblick is free opensource GUI for MAC OS X its a great alternative to OpenVPN GUI.

This thread will show you how it is easy to configure and use Tunnelblick, if you used a OpenVPN GUI before you can copy your configuration and your certificate files to your MAC.

You can get Tunnelblick from [Read more…]

Filed Under: Apple, Mac OS X, Networking Tagged With: Apple, MAC OS X, OpenVPN, Tunnelblick

Fix locale issues in Mac OS X

August 16, 2012 by Igor Drobot Leave a Comment

I faced a problem with locales in terminal on Mac OS X Lion. Midnight Commander didn’t want to display Cyrillic symbols in filenames and directories, on my remote media-Server I’ve been getting messages like “warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)”. The solution is fairly simple – add these two lines to ~/.bash_profile (by default is seems to be missing, so create the file):

1
2
3
4
ids:~ id$ cat .bash_profile 
 
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8

ids:~ id$ cat .bash_profile export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8

Filed Under: Apple, Bash, Mac OS X Tagged With: Apple, bash, locale, MAC OS X

  • 1
  • 2
  • Next Page »
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