[asterisk-users] is DNS SRV enough for failover?

Alex Balashov abalashov at evaristesys.com
Tue Sep 30 21:07:25 CDT 2008


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



More information about the asterisk-users mailing list