problems with jail
Jonathan Chen
jonc at chen.org.nz
Fri Feb 23 05:42:39 UTC 2007
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 at chen.org.nz> | To be is to do -- Sartre
| Scooby do be do -- Scooby
More information about the freebsd-questions
mailing list