Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to create a zeroconf app which allows one machine to be "host" which takes ownership of a certain hostname.

For example, machineA sets it's host name to 'testbox', and network devices can access it via 'testbox.local'.

But then I want machineB to set it's host name to 'testbox', and then I would like network devices to connect to machineB instead of machineA.

At the moment this is working to some degree, however different browsers cache the hostname for different periods of time.

Is there some way to configure avahi to broadcast the hostname with a short-lived TTL?

share|improve this question
up vote 0 down vote accepted

I looked long and hard for a solution to this, and am posting this answer just so I can mark it as correct and increase my accept rate.

I believe that: It can't be done.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .