Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 1997 09:35:35 +0100
From:      roberto@eurocontrol.fr (Ollivier Robert)
To:        freebsd-current@FreeBSD.ORG (FreeBSD Current Users' list)
Subject:   fetch and gethostbyname2
Message-ID:  <19970207093535.OS29821@caerdonn.eurocontrol.fr>

next in thread | raw e-mail | index | archive | help
Hi,

Can someone (Garrett ?) explain to me why, with the following setup, fetch
is unable to resolve the host specified in HTTP_PROXY ?

286 [9:34] roberto@caerdonn:/tmp> fetch -m http://www.blaze.net.au/~davidn/UNIX/userls-1.5.tar.gz
fetch: `atena:': cannot resolve: Unknown host

/etc/resolv.conf
------------------------------------------------------------
domain	eurocontrol.fr
nameserver	127.0.0.1
------------------------------------------------------------

/etc/hosts
------------------------------------------------------------
147.196.68.101		atena.eurocontrol.fr atena
------------------------------------------------------------

$HTTP_PROXY             atena:3128

I'm running named as a cache-only nameserver, with forwarders/slave to my
primary internal nameservers. I am able to resolve atena with all other
tools of course:

211 [9:16] root@caerdonn:~# ping atena
PING atena.eurocontrol.fr (147.196.68.101): 56 data bytes
64 bytes from 147.196.68.101: icmp_seq=0 ttl=253 time=1.283 ms

212 [9:20] root@caerdonn:~# host atena
atena.eurocontrol.fr has address 147.196.68.101
atena.eurocontrol.fr has address 147.196.69.10

and so on...
-- 
Ollivier ROBERT -=- Eurocontrol EEC/TS -=- Ollivier.Robert@eurocontrol.fr
Usenet Canal Historique



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970207093535.OS29821>