Re: squid runs but client does not receive data

From: Jinsong Zhao <zhaojs@dont-contact.us>
Date: Sun, 30 Jan 2000 19:42:27 -0800 (PST)

D,

I tried using --disable-internal-dns in the configure. It seems the
problem persists. As log shows, it seems squid tries to read
/etc/resolv.conf to figure out the nameserver, and unfortunately my
Solaries does not have this file. The nameserver stuff is figured out
by consulting NIS specified in nsswitch.conf. Maybe this is where the
problem resides?

Why squid tries to do DNS itself rather than relying on gethostbyname
system call? Anyway, seems to solve the problem, I need to create the
/etc/resolv.conf?

Thanks a lot again.

Jinsong

2000/01/30 19:27:43| fd_open FD 0 /usr/local/squid/logs/cache.log
2000/01/30 19:27:43| Starting Squid Cache version 2.3.STABLE1 for sparc-sun-solaris2.5.1...
2000/01/30 19:27:43| Process ID 9092
2000/01/30 19:27:43| With 1024 file descriptors available
2000/01/30 19:27:43| Initializing IP Cache...
2000/01/30 19:27:43| Performing DNS Tests...
2000/01/30 19:27:43| Successful DNS name lookup tests...
2000/01/30 19:27:43| cachemgrRegister: registered ipcache
2000/01/30 19:27:43| Initializing FQDN Cache...
2000/01/30 19:27:43| cachemgrRegister: registered fqdncache
2000/01/30 19:27:43| comm_open: FD 1 is a new socket
2000/01/30 19:27:43| fd_open FD 1 DNS Socket
2000/01/30 19:27:43| DNS Socket created on FD 1
2000/01/30 19:27:43| /etc/resolv.conf: (2) No such file or directory
2000/01/30 19:27:43| cachemgrRegister: registered idns
2000/01/30 19:27:43| cachemgrRegister: registered http_headers
Received on Sun Jan 30 2000 - 20:51:07 MST

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