RES: Problems with dns_nameservers

From: Fabio G. Baptista <FBaptista@dont-contact.us>
Date: Thu, 23 Dec 1999 10:14:14 -0300

Martin,

When I typed
echo "www.yahoo.com.br" | ./dnsserver -s xxx.xxx.xxx.xxx
it returns:

$addr 0 204.71.200.68 204.71.200.74 204.71.202.160 204.71.200.67
204.71.200.75

but, when I typed
echo "intranet_only_host.mydomain.com" | ./dnsserver -s xxx.xxx.xxx.xxx
it returns:

$fail DNS Domain 'intranet_only_host.mydomain.com' is invalid: Host not
found (authoritative).

It seems like it's not making difference the -s option for the dnssserver
proccess. Is this a bug ??

Fábio Baptista

-----Mensagem original-----
De: Martin Horak [mailto:pop3MH2@sce.cz]
Enviada em: Quinta-feira, 23 de Dezembro de 1999 08:17
Para: Fabio G. Baptista
Assunto: Re: Problems with dns_nameservers

>
> Hello,
>
> I'm having the following problem:
>
> The squid (Squid 2.2/Stable 3) is installed on a linux box running our
> public dns server. The internal domain is the same as the external, but
> there are servers in our local intranet, that do not have dns entry for
the
> public. So, I don't want squid to resolv names using the resolv.conf.
> I've tried to use dns_nameservers tag but it seems not to work.
>
> The dnsservers proccess are listed like this:
>
> 568 ? S 0:03 (dnsserver) -s xxx.xxx.xxx.xxx <- this is our
> internal dns Ip address
> 569 ? S 0:00 (dnsserver) -s xxx.xxx.xxx.xxx
> 570 ? S 0:00 (dnsserver) -s xxx.xxx.xxx.xxx
> 571 ? S 0:00 (dnsserver) -s xxx.xxx.xxx.xxx
> ...
>

Try to do something like
echo "www.yahoo.com" | ./dnsserver -s xxx.xxx.xxx.xxx
in the squid bin directory.
On my system (AIX) it returns:
-s is not supported on this resolver

Martin Horak

--
Martin Horak, system programmer
Northern Bohemian Energy s.c.
Decin, Czech Republic
Received on Thu Dec 23 1999 - 05:27:57 MST

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