[SR-Users] How to configure Kamailio to send only DNS A query

Henning Westerholt hw at gilawa.com
Wed Dec 7 08:39:43 CET 2022


Hello,

it depends on a which function do you use for sending it out. But try to give the port, e.g. MY-SERVER:5060 in the relevant function in your cfg.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Arun Kumar
Sent: Tuesday, December 6, 2022 9:50 AM
To: sr-users at lists.kamailio.org
Subject: [SR-Users] How to configure Kamailio to send only DNS A query

Hello All,

I have a setup where the DNS server is configured with only A record. When the Kamailio receives the request it performs a DNS SRV query for which it receives a response with "no such name". But later a DNS A query is sent which gets resolved and the request is forwarded.

I would like to know that is there any configuration that can be done in Kamailio so that it will perform only DNS A query directly instead of SRV query? If so could you please help me know how to do it

Thanks and Regards
Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221207/8df3ba3c/attachment.htm>


More information about the sr-users mailing list