In one config I use
dns_cache_flags = 4
dns_cache_init = off
Looks as when Kamailio try to resolve DNS hostname sended two DNS requests:
When DNS hostname has only AAAA record and do not has A record, then
NXDomain
.Looks as when Kamailio received NXDomain
, then takes the server hostname domain and adds this part to searched DNS name and repeated request.
Example:
ipv6.test-ipv6.com
that has only AAAA dns record.proxy.example.com
;ipv6.test-ipv6.com
AAAA request, successful;ipv6.test-ipv6.com
A request, NXDomain
;ipv6.test-ipv6.com.example.com
AAAA request, NXDomain
;ipv6.test-ipv6.com.example.com
A request, NXDomain
.Using absolute DNS name, I want Kamailio to not modify DNS name and not send extra requests.
Tested on master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.