Re: Problem with dnsserver in squid (solved :))

From: Martin Horak <pop3MH2@dont-contact.us>
Date: Wed, 22 Dec 1999 10:17:59 +0100

> Martin Horak wrote:
>
> > 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. :(
>
> Try removing the _res_options initializations from the start of main()
> in dnsserver.c, and perhaps even the call to res_init().
>

Thank you.
I've just solved the problem using
CC="xlc_r -D_ALL_SOURCE" ./configure --disable-pool
(I found this advice in the archive).
It works for version 2.2.STABLE5, but not for 2.3.DEVEL3.
2.2.STABLE5 is sufficient for me, however.

I also found an interesting thing. Dnsservers work only when they
could access /etc/resolv.conf, even if I set dns_nameservers.
Also "echo domain | ./dnsserver -s nameserver" returns
-s is not supported on this resolver
$fail ...
Isn't it a bug?

Martin Horak

--
Martin Horak, system programmer
Northern Bohemian Energy s.c.
Decin, Czech Republic
Received on Wed Dec 22 1999 - 02:32:54 MST

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