Re: squid cant resolve URLS without usin a name server ??

From: Paulo Martins Inocencio <[email protected]>
Date: Tue, 30 May 2000 15:25:39 -0300

Hello everybody ....
Hendrik, I have tried your tip but I got the following error : ( during
make all)

gcc -g -O2 -Wall -I .-I ../include -I ../include -c dns.c
dns.c: In function 'dnsInit':
dns.c:56: structure has no member named `dnsserver`
dns.c:56: structure has no member named `dnsChildren`
dns.c:56: structure has no member named `dnsserver`
dns.c:56: structure has no member named `res_defnamesr`
*** Error code 1
Stop.

I'm doing this on FreeBSD 3.4 Stable

unfortunately I'm not a C programmer, so I don't know watt to do now
any more tips ????

thank you

Paulo Martins Inocencio

----- Original Message -----
From: Henrik Nordstrom <hno@hem.passagen.se>
To: Paulo Martins Inocencio <paulo.martins@cjf.gov.br>
Cc: <squid-users@ircache.net>
Sent: Tuesday, May 30, 2000 11:50 AM
Subject: Re: squid cant resolve URLS without usin a name server ??

> Paulo Martins Inocencio wrote:
>
> > How can i configure it to look in the local /etc/hosts file before
looking
> > at the name server ???
>
>
> Build it with --disable-internal-dns to use the old dnsserver helper
> processes. These uses the gethostbyname() which follows the resolving
> rules configured on your system (usually specified in
> /etc/nsswitch.conf). I.e. the same rules as any other normal TCP/IP
> program like ping, telnet and so on.
>
> --
> Henrik Nordstrom
>
>
Received on Tue May 30 2000 - 12:27:54 MDT

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