Red Hat Bugzilla – Bug 428995
avahi-discover reports out of date information
Last modified: 2008-03-26 20:10:15 EDT
I am using avahi-discover to find a service provided by a NAS device. The
services are found, but if I turn the device off or change the name of the
service, avahi-discover lags in updating the into.
It almost seems like it is caching the information for too long, yet I can not
find any cache to remove. Restarting avahi-discover does not seem to refresh
Should avahi-discover update are services are found? If a service changes
should avahi-discover update its info? Is this a problem with the frequency of
the service announcement?
The mDNS spec mandates relatively long cache ttls because the normal way for
having services to disappear is by sending goodbye packets.
Avahi just follows what the spec mandates. If you think that the spec is
misdesigned here (which I -- as someone who implemented it -- do not think) then
please discuss this with the spec authors.
If Avahi doesn't immediately notice renamed services, than this is most likely
an issue on the mDNS implementation on the NAS (i.e. it doesn't send
announcement/goodbye packets properly), because renames should in theory work
Either way, I do believe Avahi is behaving properly here. I am thus closing this
bug now. If you believe I am not right, feel free to reopen.