Re: [SR-Users] TM: t_relay([host, port]) DNS Queries

2016-07-27 Thread Louis-Olivier Roof
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 refre

Re: [SR-Users] TM: t_relay([host, port]) DNS Queries

2016-07-27 Thread Carsten Bock
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 : > Thanks for your prompt answer Carsten, > > According to the docs, the cache should be periodically invalidated > ac

Re: [SR-Users] TM: t_relay([host, port]) DNS Queries

2016-07-27 Thread Louis-Olivier Roof
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?

Re: [SR-Users] TM: t_relay([host, port]) DNS Queries

2016-07-27 Thread Carsten Bock
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 : > Dear Kamailio users, > > Ref

[SR-Users] TM: t_relay([host, port]) DNS Queries

2016-07-27 Thread Louis-Olivier Roof
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 hos