<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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 face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> sr-users <sr-users-bounces@lists.sip-router.org> on behalf of Daniel-Constantin Mierla <miconda@gmail.com><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 class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a 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 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>
</div>
</body>
</html>