MQX 4.2 DNS caching?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX 4.2 DNS caching?

639件の閲覧回数
m_bach
Contributor III

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 :smileywink:

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

ラベル(1)
0 件の賞賛
返信
1 返信

429件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi Martin,

In current RTCS code, DNS cache mechanism is not implemented and current plan do not contain any task for rework that part of code.

So, your work is definitely not vain.


I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信