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 <lr...@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 > -- Carsten Bock CEO (Geschäftsführer) ng-voice GmbH Millerntorplatz 1 20359 Hamburg / Germany http://www.ng-voice.com mailto:cars...@ng-voice.com Office +49 40 5247593-40 Fax +49 40 5247593-99 Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Geschäftsführer: Carsten Bock Ust-ID: DE279344284 Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/
_______________________________________________ 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