Skip to content

Tag Archives: dns

How to force changes to /etc/hosts to take effect in OSX

15-Jul-10

If you make changes to your /etc/hosts file and want the changes to take effect immediately without having to reboot issue the following command at in the Terminal dscacheutil -flushcache

Disable default Java DNS caching

30-Nov-09

By default Java 1.6 caches DNS queries, either forever if there is a security manager installed or for an implementation specific period if there is no security manager installed. There are two ways to disable this behavior which breaks things like load balancers that do DNS load balancing. first you can disable it by adding [...]

Bonjour / ZeroConf in Erlang

15-Nov-09

Here is the beginnings of a Bonjour / ZeroConf module in Erlang. I always like to ZeroConf all my servers I write so I don’t have to play the xml/properties/ini file game with how a server or clients connect to each other. All my previous Python and Java servers have used bindings to a C [...]