AnsweredAssumed Answered

MQX 4.2 DNS caching?

Question asked by m.bach on Jun 22, 2015
Latest reply on Jul 8, 2015 by Radek Sestak

Hi There,

 

I'm migrating my MQX 4.1 project to MQX 4.2, for we did not reach release status yet. So, never look back, use 4.2

Alas, I'm wondering if getaddrinfo() somehow can make use of DNS-caching.

 

The MQX 4.1 RTCS user guide is talking about an MQX Resolver app, just like this: "DNS Resolver retrieves information, [....]. If a query is successful, the DNS server sends a reply to DNS Resolver. DNS Resolver checks the cache before it makes any query to a DNS server."

The MQX 4.2 RTCS user guide does mention any DNS resolvers anymore, the rtcs_changelog.txt does mention it either.

 

I'm currently patching getaddrinfo() to make the DNS TTL availble in the result list, and try to implement 'home brew DNS caching', honoring the TTL.

Can anyone please tell me if this is in vain, because MQX already comes with an DNS caching engine?

 

thanks a lot, Martin

Outcomes