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:
sudo killall -HUP mDNSResponder
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 Continue reading ‘Mac OS X lock screen’
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;)
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 Continue reading ‘Mac OS X OpenVPN with Tunnelblick’
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):
ids:~ id$ cat .bash_profile