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(a)lists.kamailio.org> On Behalf Of Arun Kumar
Sent: Tuesday, December 6, 2022 9:50 AM
To: sr-users(a)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