On 3/8/06, Thomas Rosenblatt <[EMAIL PROTECTED]> wrote:
> If I have well understood, at the time,
> if a nameserver is out , the resolver will never use it again (it is
> removed from the cache), even if this one recover after.

It is not removed but only way to get back to first nameserver is if
the next nameserver does not answer so sresolv tries next one after
and finally wraps over to first one.

I have some patches that try to use round-robin and times the
nameserver errors so that they will be eventually used again if they
come back to life. They do not work (or even compile) yet, however.

--Pekka

> Pekka Pessi wrote :
> > On 3/6/06, Thomas Rosenblatt <[EMAIL PROTECTED]> wrote:
> >
> >> I'm interested with the Sofia DNS Resolver. I'm studying it, and I have
> >> some questions about it:
> >> What is its policy concerning multiple DNS nameserver ?
> >> I mean, if we have several DNS nameserver, how does the resolver balance
> >> the load ?
> >> If the first DNS nameserver is not avaiable and comes avaiable after ,
> >> will it be used?
> >>
> >
> > Resolver tries to use first nameserver, and if that does not answer,
> > goes to second one. If the new resolver answers, sresolv sticks to
> > that one: all future requests are sent to it.
> >
> > Currently, we do not support "options" in resolv.conf at all. It is
> > probably what we should do, try to parse options just like bind/libc
> > and use them.
> >
> > --
> > Pekka.Pessi mail at nokia.com
> >
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Sofia-sip-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
>


--
Pekka.Pessi mail at nokia.com


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to