<div>Still I have the connection loss when internet goes down, I have to restart the Asterisk machine or need to remove the VoIP trunk accessing internet...</div><div><br></div>DNSmasq is the only option by losing the connection when internet goes down...is there any other way...<div>

<br></div><div>Thanks<br><br><div class="gmail_quote">On Fri, Feb 12, 2010 at 4:20 AM, Matt Riddell <span dir="ltr">&lt;<a href="mailto:lists@venturevoip.com">lists@venturevoip.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On 9/02/10 12:59 PM, Tilghman Lesher wrote:<br>
&gt;&gt; add to the top of /etc/resolv.conf<br>
&gt;&gt;<br>
&gt;&gt; nameserver 127.0.0.1<br>
&gt;<br>
&gt; If you&#39;re using DHCP on any of your interfaces, you&#39;ll need to configure<br>
&gt; dhclient (or whatever dhcp client you&#39;re using) to prepend in the<br>
&gt; configuration with (e.g. /etc/dhcp3/dhclient.conf):<br>
&gt;<br>
&gt; prepend domain-name-servers 127.0.0.1;<br>
&gt;<br>
&gt; Otherwise, your entry in resolv.conf will be overwritten on each DHCP<br>
&gt; lease renewal.<br>
<br>
</div>Yeah, although if you&#39;re using DHCP, then dnsmasq is possibly a better<br>
option.<br>
<div class="im"><br>
--<br>
Cheers,<br>
<br>
Matt Riddell<br>
Managing Director<br>
_______________________________________________<br>
<br>
<a href="http://www.venturevoip.com/news.php" target="_blank">http://www.venturevoip.com/news.php</a> (Daily Asterisk News)<br>
<a href="http://www.venturevoip.com/exchange.php" target="_blank">http://www.venturevoip.com/exchange.php</a> (Full ITSP Solution)<br>
<a href="http://www.venturevoip.com/st.php" target="_blank">http://www.venturevoip.com/st.php</a> (SmoothTorque Predictive Dialer)<br>
<br>
--<br>
_____________________________________________________________________<br>
</div><div><div></div><div class="h5">-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thank you  with regards,<br>Gopalakrishnan A.N,<br><br><br>
</div>