Re: Problem with dnsserver in squid

From: Martin Horak <pop3MH2@dont-contact.us>
Date: Tue, 21 Dec 1999 10:49:10 +0100

>
> Hello,
>
> Have you check your resolv.conf file ?
> In our proxy, squid's using dns server from the list of /etc/resolv.conf
> (we are using FreeBSD 2.2.7 & Squid 2.3D3) and all dns request by squid are
> running well.
>
> |assa|

Yes, I really did. "Normal" DNS lookup utilities (nslookup, host)
work without problems.

I also tried small program just to test gethostbyname() call. It also
worked. :(

> >>
> >> Hello Michel.
> >> Going through the archive of squid-users I found your post about not
> >> working dnsservers on powerpc-ibm-aix4.2.1.0:
> >>
> >> > Moreover, if I run the command
> >> > echo squid.nlanr.net | ./dnsserver
> >> > an empty output is generated! It seems dnsserver does not work at
> >> > all.
> >> >
> >>
> >> > If I run dnsserver under gdb, gdb reports that the exit status of
> >> > dnsserver is 06.
> >>
> >> I have exactly the same problem. I played a bit with the source of
> >> dnsserver, and found that the program silently fail, when it tries to
> >> call gethostbyname() or gethostbyaddr().
> >>
> >> Have you already solved this problem?
> >> Or have anyone any suggestion?
> >>
> >
> >The story above belongs to version 2.2.S5.
> >
> >Now I'm trying version 2.3.D3 and it seems to have the same problem
> >with my AIX - it fails with errorcode 6 when it tries to lookup
> >hostname.
> >
> >Please help.
> >
> >Thanks,
> >Martin Horak
>
>

--
Martin Horak, system programmer
Northern Bohemian Energy s.c.
Decin, Czech Republic
Received on Tue Dec 21 1999 - 03:00:40 MST

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