Forcing DNS-SD/Bonjour to recreate list of servers for a browse operation
Forcing DNS-SD/Bonjour to recreate list of servers for a browse operation
- Subject: Forcing DNS-SD/Bonjour to recreate list of servers for a browse operation
- From: Tim Hewett <email@hidden>
- Date: Fri, 11 Jul 2014 16:47:35 +0100
I keep finding a situation where a Bonjour host no longer appears in the browses of other hosts even though it still appears in its own local list (according to ‘dns-sd -L’). If the application server process is restarted to force it to re-register then it re-appears on the other hosts. Re-starting the browse on the other hosts doesn’t make it re-appear, but putting them to sleep then waking them a forces them to re-probe the network with the “disappeared” host reappearing again.
I want to provide a “re-evaluate server list” function on the clients to effectively force the same behaviour as when waking from sleep or booting but there doesn’t appear to be an API for this.
The “force” option for DNSServiceReconfirmRecord() seemed to be an option but that API only helps with pre-existing records.
Is there a way to force the mDNS cache to be re-generated for a particular service type?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden