秋田大学 佐々木といいます。

dolphin <dolphin@bml.co.jp> writes:

> squidの設定で、ある特定宛先は別のプロキシにホップする設定はありますか?
> 
> internet -- proxy_A(squid) ---- intranet
>               |
>               |
>             proxy_B(delegate)
>               |
>               |
>             intra_websever

> (やりたいこと)
> ・intranetのブラウザの設定はproxy_Aのままで、squidでintra_webの宛先を
>  受信したときのみら、proxy_Bに要求を出す。

squid.conf にこんなコメントが記載されていますけども…

#  TAG: cache_peer_domain
#       Use to limit the domains for which a neighbor cache will be
#       queried.  Usage:
#
#       cache_peer_domain cache-host domain [domain ...]
#       cache_peer_domain cache-host !domain
#
#       For example, specifying
#
#               cache_peer_domain parent.foo.net        .edu
#
#       has the effect such that UDP query packets are sent to
#       'bigserver' only when the requested object exists on a
#       server in the .edu domain.  Prefixing the domainname
#       with '!' means that the cache will be queried for objects
#       NOT in that domain.

proxy_B が delegate だとうまくいかないかもしれません。