doc/
subfolder, the README file is autogenerated)The method dns_entry2he
was returning 10 hostent
structures, containing the same record, because the rr counter was never updated (10 being the value of DNS_HE_MAX_ADDR
).
With this fix, the cache correctly returns all records found by the resolver.
In the documentation of dns_int_match_ip
, it says:
At this moment, the function might not check all the IP addresses as returned by dns_sys_match_ip(), because the internal resolver targets to discover the first address to be used for relaying SIP traffic.
I believe that with this patch, dns_int_match_ip
now also works for DNS entries with multiple values. I'm not sure about mixed ipv4/ipv6 though.
https://github.com/kamailio/kamailio/pull/2260
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.