Technical Q&A QA1293

Bonjour TXT record rate limiting in Panther

Q:  I have an application that updates the Bonjour TXT record once a second, and now my application doesn't work in Panther. Why is that?

A: Starting in Mac OS X 10.3, mDNSResponder rate limits the number of TXT record updates in order to prevent abuses that harm the network. Although the exact allowable rate is dependent on how often you've updated the TXT record in the past, you can rely on being able to update at a steady rate of once per minute without any problems. The exact rules for rate limiting are as follows.

This means that you are allowed to do a few quick updates in rapid succession, but if your sustained long-term average exceeds one update per minute, the update rate will be throttled back to protect the network.

If you have an application that needs to disseminate new information to all peers on the local network more frequently than once per minute, then Bonjour is probably not the right protocol for the job. You should contact IANA to get your own IP multicast address assigned so that your protocol traffic can run on its own multicast address.



Document Revision History


DateNotes
2012-09-18

Explains how mDNSResponder implements TXT record rate limiting in Panther.

2003-10-23

New document that explains how mDNSResponder implements TXT record rate limiting in Panther.