From owner-freebsd-questions Wed Sep 25 03:12:43 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA21313 for questions-outgoing; Wed, 25 Sep 1996 03:12:43 -0700 (PDT) Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA21237 for ; Wed, 25 Sep 1996 03:12:33 -0700 (PDT) Received: by mail.EUnet.hu, id MAA23037; Wed, 25 Sep 1996 12:12:23 +0200 Received: by CoDe.CoDe.hu (JAA01311); Wed, 25 Sep 1996 09:44:39 GMT From: Gabor Zahemszky Message-Id: <199609250944.JAA01311@CoDe.CoDe.hu> Subject: Re: linuxemu + resolver To: freebsd-questions@freebsd.org Date: Wed, 25 Sep 1996 09:44:38 +0000 (GMT) In-Reply-To: from "Doug White" at Sep 24, 96 08:44:26 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I've got a 2.1R, and linuxemu installed. I've tried telnet, and got: > > resolv+: "hosts" is an invalid keyword > > resolv+: "bind" is an invalid keyword > > > > but I haven't got a /compat/linux/etc/resolv.conf file, and of course > > my real /etc/resolv.conf is BSD-like (domain and nameserver lines in it). > > How can I configure the linux environ, to use my own BSD-specific resolver? > > Oh, how does this work? > > I think all you need in resolv.conf is: > > order hosts,bind > > Or whatever order you prefer. Well, the problem is bigger, because I made a mistake. Of course, it's not resolv.conf, but host.conf. And as I would like to say, I haven't got /compat/linux/etc/host.conf, and my real host.conf has == hosts bind == in it. I would like to use the FBSD's host.conf, and don't like to make new host.conf in the linux compat directory-tree. (Well, host.conf is not so frequently modified by me.) Somewhere I read, that there is an environment variable, or so, with what I can use only one host.conf, the FBSD's. And now, I made /compat/linux/etc/host.conf, but the error message is the same. -- Gabor Zahemszky -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky