Skip to content

optixx Posts

Update: os x and DNS

I found some facts how os x is handling the dns lookups. Because i was wondering why changing the resolv.conf doesnt seem to change Safari’s or Firefox’s lookups. The key to this is lookupd and DNS Service Discovery. Actually i came across this from an iphone related problem, which is quite well documented at saurik webpage.

Leave a Comment

New iTunes and iPhoto importer

I updated my iTunes and iPhoto import scripts. Added Growl feedback and some hacks to handle iTunes performance problems, some iTunes really gets slow and i had to add timeut exception handling.
So just call this from the terminal:

python -d /media/mp3s -r -p

Where all Mp3 Files below the path get imorted to iTunes and playlists get created. The playlist’s name depends on the subfolder structure below the import path. If u have arranged your stuff like /media/mp32/artist/album, u get a proper playlist name “Artist – Album”

The other script is just a bulk importer for iPhoto.

python -d /media/photos -r

Where all pictures below the path are imported and each subfolder yields an new album in iPhoto. Quite simple and less pain if u have to import a huge photo collection. Tried to use Automator for this, but he outcome wasn’t so good.

Leave a Comment

Stupid Fritzbox DNS

Since my DSL provider’s DNS updates are really slow i wanted to switch to opendns, which is a good a idea anyways. But wtf i cant change the default dns in my fritzbox. No way to do it via the web admin. Ok why bother i said to my self and went for the shortcut. To find out that Leopard is buggy and u cant unassign the default dns on the Airport device, its simply greyed out. Bummer!

So do it the old school way and editet the resolv.conf. Where nslookup and dig seem to eat this but Firefox and Safari seem to give a flying fuck about this. Even Network pref.panes doesnt seem so sync againt resolv.conf. Seems to be a know problem to the people at the opendns forums.
Ok went back to the fritzbox, and found a way to force the dns via the a config file. Just fillin this:

overwrite_dns1 =;
overwrite_dns2 =;

Used a java tool to pull and push the config directly from the box. Take a look here

Ja…funny. How easy u can spend an hour in front of a computer, just to take a shortcut for the slow dns cache update…

Leave a Comment

New Webspace

Moved my site to a new hoster Got some nice webspace with all the stuff u need for painless hosting. So i got ssh access, svn and the all common web languages like php,python and ruby. I could even run a java webcontainer in my account, if really get into in grails. This package gives me the freedom i need without having to admin a whole domU with all the stress u get once in awhile if u have have to admin the whole bunch of applications u need to run a proper webservice. (mta, imap, fw, dns, webserver…). Quite fair prices and real good support. The people answer in like hours and u dont get an pre typed standard response. They actually know what they are talking about.

Leave a Comment