<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p><br>
</p>
<p>I am not familiar with carrierroute and its internals, but I
guess it sets either request uri ($ru) or dst uri ($du).</p>
<p><br>
</p>
<p>Now, if the ruri is <a class="moz-txt-link-freetext" href="sip:user@domain.com">sip:user@domain.com</a>, then kamailio will do
dsn srv to find out the target host port for sip service. If the
ruri is <a class="moz-txt-link-freetext" href="sip:user@domain.com:5060">sip:user@domain.com:5060</a>, then kamailio does only A/AAAA
query for domain.com (as per ietf rfc).</p>
<p><br>
</p>
<p>Probably you can try the variant you mentioned to see if the
$ru/$du is set accordingly -- I cannot help more with carrierroute
in this regard.</p>
<p><br>
</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 01/02/2017 15:04, Ahmed Fouad wrote:<br>
</div>
<blockquote
cite="mid:VI1PR0801MB155031CE9F8CD563C47B4B72A34D0@VI1PR0801MB1550.eurprd08.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
dir="ltr">
<p>Hi Daniel,</p>
<p><br>
</p>
<p>I'm using table carrierroute with scan_prefix and
rewrite_host fields to match routing from DIDs to my servers
and rewrite_host is like
<br>
</p>
<p>sub.domain.com only.</p>
<p>do you like to add the hosts there with sub.domain.com:5060 ?
or what ?<br>
</p>
<p><br>
</p>
<div id="Signature"><i><br>
</i></div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
color="#000000" face="Calibri, sans-serif"><b>From:</b>
sr-users <a class="moz-txt-link-rfc2396E" href="mailto:sr-users-bounces@lists.sip-router.org"><sr-users-bounces@lists.sip-router.org></a> on
behalf of Daniel-Constantin Mierla <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
<b>Sent:</b> Wednesday, February 1, 2017 3:53:52 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Disabling DNS SRV records
checks</font>
<div> </div>
</div>
<div>
<p>Hello,</p>
<p><br>
</p>
<p>I don't remember by heart if there is any option to control
DNS SRV records, but you can add the target port to the URI
and then no SRV is performed.</p>
<p><br>
</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 01/02/2017 14:17, Ahmed Fouad
wrote:<br>
</div>
<blockquote
cite="mid:VI1PR0801MB155073B8AE2554A5E911CA9EA34D0@VI1PR0801MB1550.eurprd08.prod.outlook.com"
type="cite">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
dir="ltr">
<p>Hi,<br>
</p>
<p><br>
</p>
<p>I'm running kamailio version 4.1 and having the following
DNS related configuration
<br>
</p>
<p><br>
</p>
<div>use_dns_failover = off<br>
dns_try_naptr = no<br>
dns_udp_pref = -1<br>
dns_try_ipv6 = off<br>
dns_retr_time=1<br>
dns_retr_no=1<br>
dns_servers_no=1<br>
dns_use_search_list=no</div>
<p><br>
</p>
<p>But still am seeing SRV record checks for my domains
which I like to completely disable these checks and only
use A records only.</p>
<p><br>
</p>
<p><span>x.x.x.x.57828 > 8.8.8.8.53: 7417+ SRV?
_sip._udp.subdomain.com</span></p>
<p><span><span>8.8.8.8.53 > x.x.x.x.57828: 7417 NXDomain
0/1/0 (129)</span></span></p>
<p><br>
</p>
<p>I can't find a DNS option to disable SRV checks.</p>
<p><br>
</p>
<p>Can you please advise ?<br>
</p>
<div id="Signature"><i><br>
</i></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>