[asterisk-users] Losing local SIP phones when internet goes down?

Matt Riddell lists at venturevoip.com
Thu Feb 11 16:50:06 CST 2010


On 9/02/10 12:59 PM, Tilghman Lesher wrote:
>> add to the top of /etc/resolv.conf
>>
>> nameserver 127.0.0.1
>
> If you're using DHCP on any of your interfaces, you'll need to configure
> dhclient (or whatever dhcp client you're using) to prepend in the
> configuration with (e.g. /etc/dhcp3/dhclient.conf):
>
> prepend domain-name-servers 127.0.0.1;
>
> Otherwise, your entry in resolv.conf will be overwritten on each DHCP
> lease renewal.

Yeah, although if you're using DHCP, then dnsmasq is possibly a better 
option.

-- 
Cheers,

Matt Riddell
Managing Director
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)



More information about the asterisk-users mailing list