From owner-freebsd-questions Mon Jan 29 11:21:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA23635 for questions-outgoing; Mon, 29 Jan 1996 11:21:04 -0800 (PST) Received: from Sysiphos (Sysiphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA23628 for ; Mon, 29 Jan 1996 11:20:58 -0800 (PST) Received: by Sysiphos id AA02553 (5.67b/IDA-1.5 for freebsd-questions@freebsd.org); Mon, 29 Jan 1996 20:20:42 +0100 Message-Id: <199601291920.AA02553@Sysiphos> From: se@zpr.uni-koeln.de (Stefan Esser) Date: Mon, 29 Jan 1996 20:20:41 +0100 In-Reply-To: Donald Burr "Linux-emu, Netscape, and DNS: how to get them to cooperate?" (Jan 27, 2:06) X-Mailer: Mail User's Shell (7.2.6 alpha(2) 7/9/95) To: Donald Burr Subject: Re: Linux-emu, Netscape, and DNS: how to get them to cooperate? Cc: freebsd-questions@freebsd.org Sender: owner-questions@freebsd.org Precedence: bulk On Jan 27, 2:06, Donald Burr wrote: } Subject: Linux-emu, Netscape, and DNS: how to get them to cooperate? } I'm running FreeBSD 2.1 with the Linux-emu. I just installed Netscape } for Linux, because I want to play around with Java stuff. BUT, Netscape } CANNOT access the DNS server, ergo it's always returning errors like } "home.netscape.com host unknown", etc. } } I have a proper host.conf and resolv.conf file in /compat/linux/etc. I } EVEN HAVE TRIED MOVING THESE INTO /etc. But no success. } } What's going wrong here? can someone help me out with getting this } running? I'm losing my mind!!! } } On a side note, according to the available doc's on the Linux-emu, } whenever a Linux [program or library tries to access a file, the } Linux-emu is supposed to add "/compat/linux" to it, i.e. if the program } asks for "/etc/hosts", the it actually accesses } "/compat/linux/etc/hosts". This DOES NOT seem to be the case, though, } because even though I put a Linux-style host.conf in } /compat/linux/etc/host.conf, the Linux resolv+ library always says } "invalid keyword hosts" (meaning it's referring to the FreeBSD } /etc/host.conf file!). What gives here? Add the following line to /etc/profile: RESOLV_HOST_CONF=/compat/linux/etc/host.conf; export RESOLV_HOST_CONF This will make the Linux resolver library use Linux version of the config file ... Regards, STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/~se