Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 1996 09:44:38 +0000 (GMT)
From:      Gabor Zahemszky <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org
Subject:   Re: linuxemu + resolver
Message-ID:  <199609250944.JAA01311@CoDe.CoDe.hu>
In-Reply-To: <Pine.BSI.3.94.960924084349.3145G-100000@gdi.uoregon.edu> from "Doug White" at Sep 24, 96 08:44:26 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 <zgabor@CoDe.hu>

-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
Earth is the cradle of human sense, but you can't stay in the cradle forever.
						Tsiolkovsky



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