[SQU] Confuse about dnsserver

From: Catalin Tatu <cata@dont-contact.us>
Date: Fri, 20 Oct 2000 10:18:18 +0200

Hi all,
I'm using squid-2.3-stable.3 on RedHat 6.1 linux box with a parent. My linux box is olso an web, mail ...server (we are an ISP)
It work very fine for me but I'm a little bit confuse about dnsserver.
When I compile and install squid, all the parameters what I give to the ./configure script is --prefix=path/I/want, and nothing about dns servers.
In squid.conf I have :
dns_nameservers 193.226.114.110
dns_nameservers 193.231.77.1
dns_testnames 193.226.114.110
dns_testnames 193.231.77.1

and when I restarting squid (was start with simply typing squid and enter), in cache.log is :
2000/10/19 07:33:02| Restarting Squid Cache (version 2.3.STABLE3)...
2000/10/19 07:33:02| FD 5 Closing HTTP connection
2000/10/19 07:33:02| FD 7 Closing ICP connection
2000/10/19 07:33:02| Cache dir '/usr/local/squid/cache' size remains unchanged at 3584000 KB
2000/10/19 07:33:02| DNS Socket created on FD 1
2000/10/19 07:33:02| Adding nameserver 193.226.114.110 from squid.conf
2000/10/19 07:33:02| Adding nameserver 193.231.77.1 from squid.conf
2000/10/19 07:33:02| Accepting HTTP connections at 0.0.0.0, port 8080, FD 5.
2000/10/19 07:33:02| Accepting ICP messages at 0.0.0.0, port 3130, FD 7.
2000/10/19 07:33:02| WCCP Disabled.
2000/10/19 07:33:02| Configuring Parent 194.177.32.44/8080/0
2000/10/19 07:33:02| Loaded Icons.
2000/10/19 07:33:02| Ready to serve requests.

the ps -ax is :
.....
533 ? S 0:00 squid
538 ? S 9:53 (squid)
553 ? S 0:01 (unlinkd)
.....

How squid work ? With his dnsserver or read from /etc/host ?
If I compile with --enable-internal-dns and write in squid.conf :
cache_dns_program /path/to/dnsserver
dns_children 10
when squid start it said that unknown "directive" in line cache_dns_program and line dns_children. Why ?

Thank's in advance.

----------------------------------------------------------
| Catalin Tatu |
| cata@1a.ro, 1A S.C.S. Constanta |
----------------------------------------------------------

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Oct 20 2000 - 01:17:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:49 MST