hi, i'm using DNS SRV for failover, i tried to test shutting the server down, sip client should still register on the other server but it did not. i'm using x-lite which i don't know if it's doing a srv query. does this mean SRV is not enough for failover? if a client has dns caching would this cause a problem? TIA regards nhadie
Nhadie wrote:> hi, > > i'm using DNS SRV for failover, i tried to test shutting the server > down, sip client should still register on the other server but it did > not. i'm using x-lite which i don't know if it's doing a srv query. > does this mean SRV is not enough for failover? if a client has dns > caching would this cause a problem?SRV records are DNS. DNS is cached. Ergo, SRV records are cached. Ergo, if they are cached excessively - either because the TTL is long, or in defiance of the TTL - it can cause a problem. No, DNS is not a good way to do real-time failover for anything. -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (706) 338-8599
Nhadie wrote:>hi, > >i'm using DNS SRV for failover, i tried to test shutting the server >down, sip client should still register on the other server but it did >not. i'm using x-lite which i don't know if it's doing a srv query. >does this mean SRV is not enough for failover? if a client has dns >caching would this cause a problem? > >No it would not. You should have at least 2 SRV records pointing to your 2 servers. It is ok if your client is caching them if they are not supposed to change. The problem lies in your client. It should realize after a few seconds of trying to register to your main server that it cannot so it should try the next one in line according to your SRV Records. We have deployed thousands of Linksys units configured to query SRV records and they work fine in failover scenarios. I cannot comment on X-Lite. Andres http://www.neuroredes.com>TIA > >regards >nhadie > >_______________________________________________ >-- Bandwidth and Colocation Provided by http://www.api-digital.com -- > >AstriCon 2008 - September 22 - 25 Phoenix, Arizona >Register Now: http://www.astricon.net > >asterisk-users mailing list >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >