Carsten, Running dns.view on a very active system yields no output (not an error).
kamailio_4.2.0-2+deb8u1_amd64 Thanks, Louis-Olivier On 2016-07-27 11:21 AM, Carsten Bock wrote: > Hi, > > can you run kamcmd dns.view? There you should see, what records are > cached and when they will be refreshed. > > Thanks, > Carsten > > > > 2016-07-27 17:04 GMT+02:00 Louis-Olivier Roof <lr...@jive.com > <mailto:lr...@jive.com>>: > > Thanks for your prompt answer Carsten, > > According to the docs, the cache should be periodically invalidated > according to the replies TTL (bounded by config values). > > So leaving the cache ON should be OK and still produce DNS queries, > which is not what I'm seeing. > > Am I misunderstanding something? > > Thanks! > > Louis-Olivier > > On 2016-07-27 10:51 AM, Carsten Bock wrote: > > 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 > <mailto:lr...@jive.com> > > <mailto:lr...@jive.com <mailto: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 > <mailto:sr-users@lists.sip-router.org> > <mailto:sr-users@lists.sip-router.org > <mailto: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 <mailto:cars...@ng-voice.com> > <mailto:cars...@ng-voice.com <mailto:cars...@ng-voice.com>> > > > > Office +49 40 5247593-40 <tel:%2B49%2040%205247593-40> > > Fax +49 40 5247593-99 <tel:%2B49%2040%205247593-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 <mailto:sr-users@lists.sip-router.org> > > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org <mailto: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 <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 > _______________________________________________ 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