2007/10/29, Stefan Leuenberger <[EMAIL PROTECTED]>:
...
> Quite a simple solution to circumvent a blacklisting algorithm would be
> to re-sort the internal DNS cache on a server timeout. A server that did
> not respond is moved to the tail of the list (kind of grey-listed). The
> next transaction would automatically use the server that answered the
> last request.

> The next DNS request sorts servers back into their initial order. If the
> server is still not running, it is grey-listed again.
>
> Can you see any reasons against this solution?

It won't work with more complex DNS setup (because they are sorted by
the priority of the records after they have been retrieved from the
cache). I don't see any reason why it won't work with A records and
SRV records with same priority.

I guess you could add a function in sres module that removed a record
from cache and then re-appended it and then use that in nta.

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to