09.12.2012 Views

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Dynamic DNS<br />

Normally, with dynamic DNS, the DNS server is set by the provider during the<br />

establishment <strong>of</strong> the Internet connection and the local file /etc/resolv.conf<br />

is adjusted automatically. This behavior is controlled in the file /etc/<br />

sysconfig/network/config with the sysconfig variable<br />

MODIFY_RESOLV_CONF_DYNAMICALLY, which is set to "yes". Set this<br />

variable to "no" with the YaST sysconfig editor (see Section 8.3.1, “Changing<br />

the System Configuration Using the YaST sysconfig Editor” (page 190)). Then enter<br />

the local DNS server in the file /etc/resolv.conf with the IP address<br />

127.0.0.1 for localhost. This way Squid can always find the local name<br />

server when it starts.<br />

To make the provider's name server accessible, enter it in the configuration file<br />

/etc/named.conf under forwarders along with its IP address. With dynamic<br />

DNS, this can be achieved automatically during connection establishment by setting<br />

the sysconfig variable MODIFY_NAMED_CONF_DYNAMICALLY to YES.<br />

Static DNS<br />

With static DNS, no automatic DNS adjustments take place while establishing a<br />

connection, so there is no need to change any sysconfig variables. You must,<br />

however, enter the local DNS server in the file /etc/resolv.conf as described<br />

above. Additionally, the providers static name server must be entered manually in<br />

the file /etc/named.conf under forwarders along with its IP address.<br />

TIP: DNS and Firewall<br />

If you have a firewall running, make sure DNS requests can pass it.<br />

29.4 The Configuration File<br />

/etc/squid/squid.conf<br />

All Squid proxy server settings are made in the /etc/squid/squid.conf file.<br />

To start Squid for the first time, no changes are necessary in this file, but external clients<br />

are initially denied access. The proxy is available for localhost. The default port is<br />

3128. The preinstalled configuration file /etc/squid/squid.conf provides<br />

detailed information about the options and many examples. Nearly all entries begin<br />

with # (the lines are commented) and the relevant specifications can be found at the<br />

The Proxy Server Squid 527

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!