[SR-Users] Disabling DNS SRV records checks

Ahmed Fouad xor90 at hotmail.com
Wed Feb 1 15:04:39 CET 2017


Hi Daniel,


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

sub.domain.com only.

do you like to add the hosts there with sub.domain.com:5060 ? or what ?


________________________________
From: sr-users <sr-users-bounces at lists.sip-router.org> on behalf of Daniel-Constantin Mierla <miconda at gmail.com>
Sent: Wednesday, February 1, 2017 3:53:52 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Disabling DNS SRV records checks


Hello,


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.


Cheers,
Daniel

On 01/02/2017 14:17, Ahmed Fouad wrote:

Hi,


I'm running kamailio version 4.1 and having the following DNS related configuration


use_dns_failover = off
dns_try_naptr = no
dns_udp_pref = -1
dns_try_ipv6 = off
dns_retr_time=1
dns_retr_no=1
dns_servers_no=1
dns_use_search_list=no


But still am seeing SRV record checks for my domains which I like to completely disable these checks and only use A records only.


x.x.x.x.57828 > 8.8.8.8.53: 7417+ SRV? _sip._udp.subdomain.com

8.8.8.8.53 > x.x.x.x.57828: 7417 NXDomain 0/1/0 (129)


I can't find a DNS option to disable SRV checks.


Can you please advise ?




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org<mailto:sr-users at lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Daniel-Constantin Mierla
www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com<http://www.asipto.com>
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com<http://www.kamailioworld.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170201/e365eea4/attachment.html>


More information about the sr-users mailing list