Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 17:13:20 -0400
From:      Andrea Bacchet <baccheta@cae.com>
To:        "'Mark Hughes'" <mh_lists@digitalspy.co.uk>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   RE: Jail single ip network (FreeBSD 4.5)
Message-ID:  <8A6A2A139700D5118EB6009027B0FF3A0D91D78C@caemsx02.cae.ca>

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

	I had seen a mention of this somewhere, therefore I had
already edited my (jail) /etc/hosts to include a line for my hosts
IP and hostname.

	Is this what you meant in your e-mail? Cause this has
been done already within the jail. Not to mention, my resolve.conf
in the jail includes my domain nameservers, but it doesn't seem
to be working.

	If I run ftp (only other machine I knew ip by heart :) 
I can connect if I enter the IP, but not if I just enter the
name on our network.

	Am I correct in assuming the resolve.conf isn't being
used from within the jail? Is it possible to have that working
within the jail? How?

	__
	Andy

-----Original Message-----
From: Mark Hughes [mailto:mh_lists@digitalspy.co.uk]
Sent: Monday, June 10, 2002 4:54 PM
To: Andrea Bacchet; freebsd-questions@freebsd.org
Subject: Re: Jail single ip network (FreeBSD 4.5)


> 1 - Why the 5 minute wait for my jail to respond to ssh and telnet
requests?

sounds very much like something to do with not having dns/hosts set up
correctly. I don't know enough about jails to know for sure, but I would
have thought you need a hosts file on /etc in the jail with the hostnames/ip
addresses of the hosts you're trying to connect from, if they're not in DNS.
ssh/telnet try and resolve your hostname when you connect to them - if they
can't find them, they hang until the dns resolution times out.

Hope this helps,
Mark


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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