From: Valentin Nechayev <netch@netch.kiev.ua>
To: community@altlinux.ru
Subject: Re: [Comm] start squid
Date: Fri, 8 Nov 2002 11:56:44 +0200
Message-ID: <20021108095644.GL40639@netch.kiev.ua> (raw)
In-Reply-To: <20021107133737.33fe0f0f.hyuv@visti.com>
Thu, Nov 07, 2002 at 13:37:37, hyuv wrote about "[Comm] start squid":
Похоже, что хорошим решением было бы поставить локальный named,
сконфигурить как cache only (поставить пакет caching-nameserver)
и натравить сквид на него.
Это еще и даст экономию трафика на DNS запросах.
/etc/resolv.conf вписать 127.0.0.1 и дальше не менять.
Проверки DNS'а все равно запретить.
> Опишу ситуацию подробнее, возможно это представит интерес. Я использую
> dial-up соединение с Internet и имею
> двух провайдеров. В кррр записаны домены и DNS'ы провайдеров, которые
> прописываются в /etc/resolv.conf ТОЛЬКО
> НА ВРЕМЯ соединения с Internet. Поэтому, если squid стартует при запуске
> компьютера, он ничего не находит в
> resolv.conf и "падает" через некоторое время ("cache... terminated
> abnormally"). Решение вручную записать DNS'ы
> провайдеров в resolv.conf приводит к непрерывному опросу squid этих
> адресов и непомерному разрастанию
> размера cache.log за счет записей о неудачнх соединениях.
> Казалось, удачное решение, чтобы squid стартовал бы из-под "Выполнить" в
> кррр после соединения. Но он не
> стартует из-под кррр даже под root'ом, хотя команду "-k shutdown" под
> кррр выполняет.
> Имеется ли более элегантное решение запуска squid, кроме как
> закоментировать создание cache.log, ну и далее
> как выше?
/netch
prev parent reply other threads:[~2002-11-08 9:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-07 11:37 Юрий Хорошков
2002-11-07 11:51 ` Alexey Tourbin
2002-11-07 12:03 ` Re[2]: " ASA
2002-11-08 9:33 ` Re[3]: " àÒÉÊ èÏÒÏÛËÏ×
2002-11-08 9:50 ` Re[4]: " ASA
2002-11-08 10:25 ` Re[3]: " Sergey S. Skulachenko
2002-11-08 16:25 ` Re[5]: " àÒÉÊ èÏÒÏÛËÏ×
2002-11-08 18:23 ` Sergey S. Skulachenko
2002-11-10 13:32 ` Юрий Хорошков
2002-11-10 14:26 ` Владимир
2002-11-10 20:09 ` Юрий Хорошков
2002-11-11 7:10 ` Владимир
2002-11-11 10:33 ` Юрий Хорошков
2002-11-07 13:25 ` Ruslan N. Balkin
2002-11-07 13:54 ` Alexey Tourbin
2002-11-07 12:13 ` Sergey S. Skulachenko
2002-11-07 14:08 ` Alexandre Redko
2002-11-08 9:56 ` Valentin Nechayev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021108095644.GL40639@netch.kiev.ua \
--to=netch@netch.kiev.ua \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git