The Configuration File /Etc/Squid/Squid.conf - Novell LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION Installation Manual

Hide thumbs Also See for LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION:
Table of Contents

Advertisement

Dynamic DNS
Normally, with dynamic DNS, the DNS server is set by the provider during the
establishment of the Internet connection and the local file /etc/resolv.conf
is adjusted automatically. This behavior is controlled in the file /etc/
sysconfig/network/config with the sysconfig variable
MODIFY_RESOLV_CONF_DYNAMICALLY, which is set to "yes". Set this
variable to "no" with the YaST sysconfig editor (see Section 20.3.1, "Changing
the System Configuration Using the YaST sysconfig Editor" (page 402)). Then enter
the local DNS server in the file /etc/resolv.conf with the IP address
127.0.0.1 for localhost. This way Squid can always find the local name
server when it starts.
To make the provider's name server accessible, enter it in the configuration file
/etc/named.conf under forwarders along with its IP address. With dynamic
DNS, this can be achieved automatically during connection establishment by setting
the sysconfig variable MODIFY_NAMED_CONF_DYNAMICALLY to YES.
Static DNS
With static DNS, no automatic DNS adjustments take place while establishing a
connection, so there is no need to change any sysconfig variables. You must,
however, enter the local DNS server in the file /etc/resolv.conf as described
above. Additionally, the providers static name server must be entered manually in
the file /etc/named.conf under forwarders along with its IP address.
TIP: DNS and Firewall
If you have a firewall running, make sure DNS requests can pass it.
41.4 The Configuration File
/etc/squid/squid.conf
All Squid proxy server settings are made in the /etc/squid/squid.conf file.
To start Squid for the first time, no changes are necessary in this file, but external clients
are initially denied access. The proxy is available for localhost. The default port is
3128. The preinstalled configuration file /etc/squid/squid.conf provides
detailed information about the options and many examples. Nearly all entries begin
The Proxy Server Squid
791

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3

Table of Contents