<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello all,<div>I'm trying to use a naptr address as a dispatcher destination and i'm facing some issues here.</div><div><br></div><div>When i configure a naptr address in dispatcher table, like:</div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div dir="ltr"><div><i>1:1:sip\:proxy-registrar-ci1.fuze.domain:0:0:'':''</i></div><div><i><br></i></div></div></blockquote><div dir="ltr"><div>I see kamailio making a dns query of type A, but since that this name doesn't have any A record configured in dns, kamailio didn't get any positive reply from it.</div><div><br></div><div>Should't kamailio make dns query by this order? </div><div><ol><li>NAPTR<br></li><li>SRV <br></li><li>A<br></li></ol></div><div><br></div><div>I noticed also that if the name configured in dispatcher table is resolved successfully with A record from dns, then kamailio tries to make a query to NAPTR and then SRV services for the exactly same name used for query previously done(type A), but only if it gets a positive answer from dns to the A type query.</div><div><br></div><div>I'm using kamailio version 5.1.0 with the following dns parameters configured:</div><div><br></div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;line-height:18px;white-space:pre"><div><span style="color:rgb(106,153,85)">####### DNS Parameters #########</span></div><div>dns = <span style="color:rgb(86,156,214)">no</span></div><div>rev_dns = <span style="color:rgb(86,156,214)">no</span></div><div>dns_try_ipv6 = <span style="color:rgb(86,156,214)">no</span></div><div>dns_retr_time = <span style="color:rgb(181,206,168)">1</span></div><div>dns_retr_no = <span style="color:rgb(181,206,168)">1</span></div><div>dns_cache_del_nonexp = <span style="color:rgb(86,156,214)">no</span></div><div>dns_cache_flags = <span style="color:rgb(181,206,168)">1</span></div><div>dns_cache_gc_interval = <span style="color:rgb(181,206,168)">120</span></div><div>dns_cache_init = <span style="color:rgb(181,206,168)">1</span></div><div>dns_cache_mem = <span style="color:rgb(181,206,168)">1000</span></div><div>dns_cache_negative_ttl = <span style="color:rgb(181,206,168)">60</span></div><div>dns_try_naptr = <span style="color:rgb(86,156,214)">yes</span></div><div>use_dns_cache = <span style="color:rgb(86,156,214)">on</span></div><div><span style="color:rgb(106,153,85)">use_dns_failover = on</span></div></div><div><span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre">dns_srv_lb </span><span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre">=</span><span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre"> </span><span style="background-color:rgb(30,30,30);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre"><font color="#569cd6">yes</font></span></div><div> <br clear="all"><div>Is there something wrongly configured here that can make kamailio behaves like that?</div><div><br></div><div>Thank you.</div><div>Regards</div>-- <br><div dir="ltr" class="gmail_signature">Cumprimentos<div>José Seabra</div></div></div></div></div></div>