* Marc Perkel <[EMAIL PROTECTED]>:
>
>
> Ralf Hildebrandt wrote:
>> * Matus UHLAR - fantomas <[EMAIL PROTECTED]>:
>>
>>   
>>> I guess that setting timeout, rotate and attempts options in resolv.conf
>>> could help you more than such script
>>>     
>>
>> Nice tip, but there's no option that will "back off" from a dead DNS.
>> Of course timeout/attempts and rotate will help a bit.
>>
>>   
>
> You missed it - there is:
>
> nc -w 0 -z $ns 53 | cut -d \  -f 3 | sed -e 's/^.*$/nameserver \0/' >>  
> /etc/resolv.conf

I wasn't talking about your script.

> This only creates a line IF the nameserver is working. The idea is that  
> it automatically culls out the dead servers.

Of course.
-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)         [EMAIL PROTECTED]
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                              I'm looking for a job!

Reply via email to