RE: [squid-users] Problems with getting dns_testnames to pass

From: Andy Owen <Andy.Owen@dont-contact.us>
Date: Fri, 30 Mar 2001 00:59:30 +0100

Henrik,

You were correct to say about the dns config.

It was acually the config on the client setup. The file /etc/nsswitch.conf
to be exact.

the line
hosts: files

should read

hosts: dns files

Cheers

Andy

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@hem.passagen.se]
Sent: 29 March 2001 19:32
To: Andy Owen
Cc: 'squid-users@squid-cache.org'
Subject: Re: [squid-users] Problems with getting dns_testnames to pass

Sounds like you haven't really got DNS running properly

Quick tests:

1. Try if telnet can resolve names

   telnet www.squid-cache.org 80

2. Next thing to try is nslookup

   nslookup www.squid-cache.org

Side question: Why have you changed the default DNS check list? Usually
there only is need to do this if you DO NOT have full DNS configured.

--
Henrik Nordstrom
Squid hacker
Andy Owen wrote:
> 
> Hello,
> 
> I am new to this list, I have searched the archives, but I have not found
> the problem I am experiencing anywhere.
> 
> Firstly, I have squid 2.3STABLE4 running fine on solaris 2.6.
> 
> I have got a new Sun Netra T1 runing solaris 2.8 64 bit. I have recompiled
> the software to run on this machine, and I've set up DNS. I have a test
dns
> name of www.cisco.com (same as existing machine). When I try and start
> squid, I get
> 
> Mar 29 14:16:00 testsquid squid[4136]: [ID 702911 user.alert]
ipcache_init:
> DNS name lookup tests failed.
> 
> I can disable the dns test lookups and squid starts up, but, squid runs
very
> slow indeed if I do this.
> 
> I have also tried 2.4STABLE1, with the same effect as with 2.2STABLE5. The
> same thing happens with 2.8 32 bit on an ultra 5.
> 
> Also, I noticed during compile time that gethostbyname in lbind was not
> there, so I reconfigured configure to read lnsl instead of lbind. What
> difference is it being there or not?
> 
> Any hints would be greatfully received
> 
> Cheers
> 
> Andy
Received on Thu Mar 29 2001 - 17:00:39 MST

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