Hi Louis-Olivier,
you should look at the DNS-Parameters of the Core: http://www.kamailio.org/wiki/cookbooks/devel/core#dns_parameters
Kamailio caches DNS results by default (which can be turned off).
Thanks, Carsten
2016-07-27 16:47 GMT+02:00 Louis-Olivier Roof lroof@jive.com:
Dear Kamailio users,
Ref: http://kamailio.org/docs/modules/4.2.x/modules/tm.html#tm.f.t_relay
Using t_relay([host, port]) to relay messages to a specific host does not seem to generate DNS queries to the said host after Kamailio has initially processed the configuration file.
It resolves the host once at startup then continues using the same IP after.
Is that expected behavior? Anyone has had this issue before and found a way to work around it?
Note that for this specific application, messages need to be relayed to a specified host (different from current R-URI) and this host needs to be resolved by DNS during normal operation, not only at startup.
Thanks!
Louis-Olivier
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users