>>Hi All ...
>>Жутко тормозил интернет ... После некоторых поисков, я обнаружил, что dns сервера,
>>прописанные в resolv.conf, почти дохлые, прописал парочку других. Все заработало нормально,
>>но после перезагрузки - тоже самое, смотрю resolv.conf - а там
>>ОПЯТЬ ТЕЖЕ ГЛЮЧНЫЕ DNS сервера. Изменение атрибутов файла (убрал запись) не
>>помогает, что делать? (os FreeBSD 5.4, adsl подключение).
>
>Инет поднимается по PPP
Надо прописать в конфиге ppp строчку
resolv readonly
и отредактировать resolv.conf как угодно.
Вот вырезка из man ppp
resolv command
This command controls ppp's manipulation of the resolv.conf(5) file.
When ppp starts up, it loads the contents of this file into memory
and retains this image for future use. command is one of the follow-
ing:
readonly Treat /etc/resolv.conf as read only. If ``dns'' is
enabled, ppp will still attempt to negotiate nameservers
with the peer, making the results available via the DNS0
and DNS1 macros. This is the opposite of the ``resolv
writable'' command.
reload Reload /etc/resolv.conf into memory. This may be necessary
if for example a DHCP client overwrote /etc/resolv.conf.
restore Replace /etc/resolv.conf with the version originally read
at startup or with the last ``resolv reload'' command.
This is sometimes a useful command to put in the
/etc/ppp/ppp.linkdown file.
rewrite Rewrite the /etc/resolv.conf file. This command will work
even if the ``resolv readonly'' command has been used. It
may be useful as a command in the /etc/ppp/ppp.linkup file
if you wish to defer updating /etc/resolv.conf until after
other commands have finished.
writable Allow ppp to update /etc/resolv.conf if ``dns'' is enabled
and ppp successfully negotiates a DNS. This is the oppo-
site of the ``resolv readonly'' command.