Date: Fri, 23 Feb 2007 18:42:36 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Jim Stapleton <stapleton.41@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: problems with jail Message-ID: <20070223054236.GA80940@osiris.chen.org.nz> In-Reply-To: <80f4f2b20702221749v230eefe8j86fb27de25a7df7a@mail.gmail.com> References: <80f4f2b20702221722q1de96eaaq426b061ae47f20fb@mail.gmail.com> <20070223014121.GA2803@osiris.chen.org.nz> <80f4f2b20702221749v230eefe8j86fb27de25a7df7a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 23, 2007 at 01:49:25AM +0000, Jim Stapleton wrote: > oops, did a reply instead of reply all, sorry. > > My question was "what's the best way to test net connectivity in jail, > csup?", and i did try csup (using a copy of my standard ports > supfile), it failed: > > %csup -g -L 2 /etc/supfile-ports > Parsing supfile "/etc/supfile-ports" > Connecting to cvsup12.FreeBSD.org > Name lookup failure for "cvsup12.FreeBSD.org": hostname nor servname > provided, or not known > Will retry at 20:52:12 You need to set up the jail's /etc/resolv.conf to query a suitable DNS. If you want to check connectivity from within the jail to out, you could always "telnet mail-server-ip 25". To check connectivity in, you could try enabling the jail's sendmail server... Hope this helps. -- Jonathan Chen | To do is to be -- Nietzsche <jonc@chen.org.nz> | To be is to do -- Sartre | Scooby do be do -- Scooby
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070223054236.GA80940>