zeldor.biz

Linux, programming and more

Copyright © 2026
Log in

Archives for February 2013

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

Fedora update-grub

February 12, 2013 by Igor Drobot 1 Comment

Fedora Logo

After some days of my vacation, my Fedora workstation was not able to boot. I stuck in the grub rescue shell, something was wrong with my MBR-recoord. There was a wrong UUID.

As I tried to update grub (command update-grub) – I stuck again – command not found! This is a Debian/Ubuntu specific command and is not available here.

This is a update-grub in Fedora way:

1
grub2-mkconfig -o /boot/grub2/grub.cfg

grub2-mkconfig -o /boot/grub2/grub.cfg

And finally the MBR installation:

1
grub2-install --recheck --no-floppy /dev/sda

grub2-install --recheck --no-floppy /dev/sda

Filed Under: Bash, Linux Tagged With: Fedora

Internet Super Server

February 12, 2013 by Igor Drobot Leave a Comment

super-server

Inetd listens for connections on certain sockets. When a connection is found on one of its sockets, it decides what service the socket corresponds to, and invokes a program to service the request. The server program is invoked with the service socket as its standard input, output and error descriptors.

Essentially, inetd allows running one daemon to invoke several others [Read more…]

Filed Under: Bash, Debian, FTP, HTTP, Linux, Networking, Ubuntu Tagged With: Debian, FTP, inetd, ssh

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.