Hi,
I had observed the same thing a few weeks ago and asked in the Matrix chat. Daniel
indicated that the warnings are safe, and will be changed to debug level in the near
future:
On Wed, June 26th:
1.
miconda: I pushed a commit to make them debug. I added the warnings when invastigated a
reported potential leak in dns cache
I will backport soon
I encountered the warning again myself this morning, and it took a little bit of searching
to find this answer, so I'm replying here for transparency to the mailing list.
________________________________
From: Pyry Aaltonen via sr-users <sr-users(a)lists.kamailio.org>
Sent: Tuesday, May 21, 2024 1:50 AM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Cc: Pyry Aaltonen <pyry.aaltonen(a)cuuma.com>
Subject: [SR-Users] Dns record not alone?
CAUTION: This email originated from outside the organization. Do not click links or open
attachments unless you recognize the sender and know the content is safe.
Hi,
I recently updated my testing env to 5.8.1 and after that I’ve been receiving dns_cache.c
warning “record not alone”.
I found out that it’s been added to quite recent commit:
https://github.com/kamailio/kamailio/commit/d8a35b3b6c837b36779e232b65fce61…
And that’s probably the why I haven’t seen it before.
As far as I know, I have no other problem with dns or anything else than the warning
appearing in the logs 😊
I can’t quite get what the warning is about?
Clearly refers to dns queries, and with debug I found out that maybe its somehow related
to ip which has several domains to pointing it (and queried by one of those domains by
this kamailio). Can it be something with the PTR-record?
And this warning comes ones every hour, so probably when some ttl expires, and meanwhile
the cache is ok with the situation.
And as a background, I haven’t done any specific dns-configurations in my config, so
settings should be pretty much in defaults.
Any advice what I should fix here to get the warning disappear?
-Pyry