From owner-freebsd-questions Mon Jun 10 14:14:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay2.cae.ca (gate2.cae.com [142.39.200.151]) by hub.freebsd.org (Postfix) with ESMTP id 8250037B405 for ; Mon, 10 Jun 2002 14:14:36 -0700 (PDT) Received: from dns1.cae.ca (dns1.cae.ca [142.39.20.1]) Received: from caemsx04.cae.ca (caemsx04.cae.ca [142.39.20.178]) Mon, 10 Jun 2002 17:13:30 -0400 (EDT) Received: by caemsx04.cae.ca with Internet Mail Service (5.5.2655.55) Message-ID: <8A6A2A139700D5118EB6009027B0FF3A0D91D78C@caemsx02.cae.ca> From: Andrea Bacchet To: "'Mark Hughes'" Cc: "'freebsd-questions@freebsd.org'" Subject: RE: Jail single ip network (FreeBSD 4.5) Date: Mon, 10 Jun 2002 17:13:20 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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