< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

[reSIProcate-users] DNS SRV support


Hi folks,

 

I got some questions regarding DNS SRV support and will appreciate your response:

 

For the code in TransactionState::sendToTU:

  1. In case of 503 with Retry-After host is added to blacklist for timeout specified in Retry-After
  2. In case of internally generated 408, host is added to grey list to for 32 seconds.
  3. In case of any other response host is being white listed.

 

My questions are:

  1. What is a difference between graylist and blacklist. (I suspect that hosts from black list are never tried, while grey-listed hosts are tried when there are no other hosts left to try)?
  2. Why timeout for no response case (408) is so short. Faulty host is being tried very fast again, the transaction fails instead of going with available hosts.
  3. Is there any way to use ICMP messages as indication of host unavailability instead of waiting until transaction timeout and if there is any way to resend request to the next host in this case?
  4. Is there any way to get notified regarding list of all hosts maintained by stack instance and does it make sense to ping (using OPTIONS for example) these hosts directly (bypassing SRV query), so if status of the host is changed it will be known sooner and probably even without wasting real transaction?

 

 

Thanks,
Boris


Get the name you've always wanted ! @ymail.com or @rocketmail.com.