Re: [SQU] Silly (?) DNS question

From: Mark Plaksin <happy@dont-contact.us>
Date: 27 Aug 2000 10:56:25 -0400

Henrik Nordstrom <hno@hem.passagen.se> writes:

> Mark Plaksin wrote:
>
> > The network config did change slightly between the two installs but normal
> > DNS lookups work just fine from the box an squid is definitely using the
> > right nameservers. And squid works just fine until WCCP is turned on.
> >
> > What have I missed?
>
>
> Good question. The two (DNS and WCCP) are quite unrelated to each other.
> I fail to see how WCCP can have any effect on DNS lookups.
>
> What do you do when you turn WCCP on?

- Uncomment the wccp_router line in squid.conf.
- Load the ip_wccp module
- Turn on IP forwarding
- Turn on ip_always_defrag
- Set up an ipchain to redirect port 80 to port 3128
- Start squid

> Does Squid work when contected directly while using the same
> configuration as for WCCP but without the TCP packet redirection
> installed in the kernel and WCCP disabled in the router?

The folks who can change the router aren't around but...

Squid works as a direct proxy no matter what I do. I just tried these
configs:

- squid.conf has the wccp_router line, and all other items listed above are
  loaded/on.

- squid.conf does not have the wccp_router line and all other items listed
  above are unloaded/off.

- squid.conf does not have the wccp_router line and all other items listed
  above are loaded/on.

In one Squid session with ALL,9 debugging on I hit about.webct.com while
using Squid as a direct proxy and then using WCCP. And 'grep idns cache.log'
returns this:

2000/08/27 10:48:09| idnsAddNameserver: Added nameserver #0: 128.192.1.9
2000/08/27 10:48:09| idnsAddNameserver: Added nameserver #1: 128.192.1.193
2000/08/27 10:48:09| cachemgrRegister: registered idns
2000/08/27 10:48:15| idnsALookup: buf is 33 bytes for about.webct.com, id =
0x2
2000/08/27 10:48:15| eventAdd: Adding 'idnsCheckQueue', in 1.000000 seconds
2000/08/27 10:48:15| idnsRead: FD 4: received 182 bytes from 128.192.1.9.
2000/08/27 10:48:15| idnsGrokReply: ID 0x2, 1 answers
2000/08/27 10:48:16| eventRun: Running 'idnsCheckQueue', id 10
2000/08/27 10:48:50| idnsALookup: buf is 25 bytes for virtual, id = 0x3
2000/08/27 10:48:50| eventAdd: Adding 'idnsCheckQueue', in 1.000000 seconds
2000/08/27 10:48:50| idnsRead: FD 4: received 101 bytes from 128.192.1.9.
2000/08/27 10:48:50| idnsGrokReply: ID 0x3, -3 answers
2000/08/27 10:48:50| idnsGrokReply: error 3
2000/08/27 10:48:52| eventRun: Running 'idnsCheckQueue', id 54

If you want to see the whole log:

http://www.arches.uga.edu/~happy/cache.log

I'm sure it's something simple!

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Sun Aug 27 2000 - 08:58:42 MDT

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