<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2>I am having some 
performance issues with Openser and&nbsp;I tend to believe they are related with 
DNS. So I am trying to figure out when and why Openser is doing DNS queries. 
Doing ngrep on port 53 I realized that right before sending out the "100 trying 
-- your call is important to us" message, Openser is doing a reverse DNS lookup 
for the IP where the INVITE came from. So the sequence is something 
like:</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2>client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; 
Openser&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
DNS</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2></FONT><FONT 
face=Arial size=2>&nbsp;&nbsp; 
|---INVITE------------------------&gt;|</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2>&nbsp;&nbsp; 
|&lt;---407 Proxy Auth Reqd---|</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2>&nbsp;&nbsp; 
|---ACK---------------------------&gt;|</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2>&nbsp;&nbsp; 
|---INVITE------------------------&gt;|</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|---client IP?--------&gt;|</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&lt;-------------------------|</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;|&lt;--------------------100 
trying---|</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2>I am using 
Openser-1.1.0-notls and in my script I have </FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2>dns=no</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2>rev_dns=no</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2>So&nbsp;first 
question is whether this DNS query is necessary and how I could avoid 
it.</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2>What is furthermore 
confusing is that I have a test system with the same Openser version and same 
script, where this DNS query is not happening. Looking into the production 
system I found the following:</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2>ser2:/usr/local/openser-1.1.0-notls/sbin# ldd 
openser<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-gate.so.1 
=&gt;&nbsp; (0xffffe000)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
libdl.so.2 =&gt; /lib/tls/libdl.so.2 
(0x55571000)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libresolv.so.2 =&gt; 
/lib/tls/libresolv.so.2 
(0x55574000)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libc.so.6 =&gt; 
/lib/tls/libc.so.6 (0x55587000)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
/lib/ld-linux.so.2 =&gt; /lib/ld-linux.so.2 (0x55555000)</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2>whereas the test 
system shows:</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2>sertest:/usr/local/openser-1.1.0-notls/sbin# ldd 
openser<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libdl.so.2 =&gt; 
/lib/libdl.so.2 (0x7002c000)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
libresolv.so.2 =&gt; /lib/libresolv.so.2 
(0x70040000)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libc.so.6 =&gt; 
/lib/libc.so.6 (0x70064000)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
/lib/ld-linux.so.2 (0x70000000)<BR></FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2>So the two systems 
link to different libresolv.so&nbsp;libraries. Is the tls/libresolve.so that is 
responsible for the DNS query?&nbsp;Given that in both cases I am using the 
notls version of Openser 1.1, why is there a difference between the two? 
</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2>thank you for any 
help</FONT></SPAN></DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=131412208-14122006><FONT face=Arial 
size=2>George</DIV></FONT></SPAN>
<DIV><SPAN class=131412208-14122006><FONT face=Arial size=2></FONT></SPAN><SPAN 
class=131412208-14122006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV></BODY><!--[object_id=#altectelecoms.gr#]--><FONT face=Tahoma size=2><FONT color=#0000ff>
<H1><FONT face="Arial Greek" color=#c0c0c0 size=2><SPAN lang=EN-GB>Disclaimer</SPAN></FONT></H1>
<P class=MsoNormal style="MARGIN: 5pt 0cm; mso-layout-grid-align: none"><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-fareast-language: EN-US">The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are </SPAN><SPAN lang=EN-GB style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-fareast-language: EN-US">the</SPAN><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-fareast-language: EN-US"> intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be</SPAN><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-fareast-language: EN-US"> </SPAN><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-fareast-language: EN-US">guaranteed to be secure or error-free as information could be</SPAN><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-fareast-language: EN-US"> </SPAN><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-fareast-language: EN-US">intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.</SPAN><SPAN lang=EN-GB style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-fareast-language: EN-US"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P></FONT></FONT></HTML>