Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2020 19:09:30 +0100
From:      Noon OG <superbofh@gmail.com>
To:        Brandon helsley <brandon.helsley@hotmail.com>
Cc:        "freebsd-jail@freebsd.org" <freebsd-jail@freebsd.org>
Subject:   Re: Re:
Message-ID:  <CAE=JSsOrNAjqqS7nJu_w8Z2tVHLQHsvBDM_6NgtZ=CMwwKqyGA@mail.gmail.com>
In-Reply-To: <CY4PR19MB16558737C6F6B2D8B31305B5F9A70@CY4PR19MB1655.namprd19.prod.outlook.com>
References:  <CY4PR19MB1655C40E4F61CB446802CB55F9A70@CY4PR19MB1655.namprd19.prod.outlook.com> <CAE=JSsNConxt74qCGLXC-tZe6T1V1n5LsNnQFsn8Mxjpr92HJw@mail.gmail.com> <CY4PR19MB16558737C6F6B2D8B31305B5F9A70@CY4PR19MB1655.namprd19.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
let's just try something like, edit that /etc/resolv.conf file, and,
instead of nameserver 127.0.0.1, change it to nameserver 8.8.8.8

about the ping thing: run this on the host: sysctl security.jail.
allow_raw_sockets=1
and
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-ezjail.html
check this out, the green rectangle, if you're using ezjail

On Tue, May 5, 2020 at 6:23 PM Brandon helsley <brandon.helsley@hotmail.com>
wrote:

> For
>
> ls -al /etc/resolv.conf:-rw-r--r-- 1 root wheel 125 may 4 06:36
> /etc/resolv.conf
>
> cat /etc/resolv.conf: Generated by resolvconf search home
> #nameserver 192.168.0.1
> #nameserver 205.171.3.25
>
> Nameserver 127.0.0.1
> Options edns0
>
>
> Also, ping : send socket: operation not permitted .
>
> Sent from Outlook Mobile <https://aka.ms/blhgte>;
>
> ------------------------------
> *From:* Noon OG <superbofh@gmail.com>
> *Sent:* Tuesday, May 5, 2020 11:12:23 AM
> *To:* Brandon helsley <brandon.helsley@hotmail.com>
> *Cc:* freebsd-jail@freebsd.org <freebsd-jail@freebsd.org>
> *Subject:* Re:
>
> Hi Brandon,
>
> It's show and tell day ;)
>
> first step, inside the jail:
>
> ls -al /etc/resolv.conf
> cat /etc/resolv.conf
>
> if you got nothing, just go for something like:
>
> echo "nameserver 8.8.8.8" >> /etc/resolv.conf
>
> either way, ping 8.8.8.8 should return something.
> On the other hand, there are a few sysctl knobs, for raw sockets that
> might need tweaking. But we'll see what happens, as we go.
>
>
>
> On Tue, May 5, 2020 at 5:59 PM Brandon helsley <
> brandon.helsley@hotmail.com> wrote:
>
> I was told "Based on your error (resolver), your DNS is hosed.Rudy" can I
> get additional help today for services in jails? Thanks
>
>
> Brandon
>
> Sent from Outlook Mobile<https://aka.ms/blhgte>;
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE=JSsOrNAjqqS7nJu_w8Z2tVHLQHsvBDM_6NgtZ=CMwwKqyGA>