From owner-freebsd-current Fri Feb 7 02:49:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA18530 for current-outgoing; Fri, 7 Feb 1997 02:49:33 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA18468 for ; Fri, 7 Feb 1997 02:49:19 -0800 (PST) Received: from atena.eurocontrol.fr (atena.uneec.eurocontrol.fr [147.196.69.10]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id AAA21047 for ; Fri, 7 Feb 1997 00:35:47 -0800 (PST) Received: by atena.eurocontrol.fr; (5.65v3.2/1.3/10May95) id AA04529; Fri, 7 Feb 1997 09:35:40 +0100 Received: (from roberto@localhost) by caerdonn.eurocontrol.fr (8.8.5/caerdonn-1.1) id JAA02161; Fri, 7 Feb 1997 09:35:36 +0100 (CET) Message-Id: <19970207093535.OS29821@caerdonn.eurocontrol.fr> 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 X-Mailer: Mutt 0.60 Mime-Version: 1.0 X-Operating-System: FreeBSD 3.0-CURRENT Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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