On 11 Dec 2014, at 16:01, Olle E. Johansson <[email protected]> wrote:

> Hi!
> 
> Digging through the dispatcher source code I think this is the way IP 
> matching works:
> 
> * When loading or reloading dispatcher, hostnames are looked up to IP
> 
> * When running a reverse check in dispatcher the IP address is checked 
> against $si
> 
> I don't understand if we handle DNS TTL and re-lookup the name here. Do I 
> have to run 
> a crontab dispatcher reload to make sure we have an up-to-date IP?

Additional discovery:
- we run a new DNS lookup before doing the reverse matching, which is fine.

Note: If the dispatcher SIP URI does not resolve at load time, that entry
is ignored, but dispatcher loads the rest of the table.

Digging...
/O
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to