Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2015 11:42:30 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Niklaas Baudet von Gersdorff <niklaas@kulturflatrate.net>
Cc:        "William A. Mahaffey III" <wam@hiwaay.net>, FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: IPv6 only Jails cannot connect to the outside world
Message-ID:  <alpine.BSF.2.20.1510061137280.8676@mail.fig.ol.no>
In-Reply-To: <5612E192.6040404@kulturflatrate.net>
References:  <5611AFCA.4010909@kulturflatrate.net> <CA%2BtpaK0fyqEvc3kWMfhD9teogTG8euWfqEn1szmUhYXQ5e_UCg@mail.gmail.com> <5611CA44.4030602@radel.com> <56123260.1010901@kulturflatrate.net> <56127D73.5040001@hiwaay.net> <5612E192.6040404@kulturflatrate.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Oct 2015 22:46+0200, Niklaas Baudet von Gersdorff wrote:

> On 05/10/15 15:37, William A. Mahaffey III wrote:
> > On 10/05/15 03:24, Niklaas Baudet von Gersdorff wrote:
> >> Probably I'm missing something.
> >>
> > 
> > I thought you were limited to a small number of entries in resolv.conf,
> > 3 by default (in my man page). If so, the 3 IPv4 entries were all that
> > were searched when they were there & it never got to the IPv6
> > nameservers. $0.02, no more, no less ....
> 
> Just for completeness:
> 
> You're right, as Herbert mentioned in his previous email (attached).
> 
> By moving the IPv6 name servers up I could solve the issue.
> 
> I wasn't aware of the fact that one is limited to three entries.

You could run local_unbound in each jail, point /etc/resolv.conf to 
127.0.0.1 or ::1, and have unbound forward each query to as many 
resolvers as you like. Or use dns/bind910 if you prefer that one.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@freebsd.org  Tue Oct  6 09:51:55 2015
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id D66149B65FD
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Tue,  6 Oct 2015 09:51:55 +0000 (UTC)
 (envelope-from niklaas@kulturflatrate.net)
Received: from mail2.kulturflatrate.net (mail2.kulturflatrate.net
 [IPv6:2a01:4f8:121:52ad::3:1])
 by mx1.freebsd.org (Postfix) with ESMTP id 95C28916
 for <freebsd-questions@freebsd.org>; Tue,  6 Oct 2015 09:51:55 +0000 (UTC)
 (envelope-from niklaas@kulturflatrate.net)
Received: from [10.0.0.38] (mail.kulturflatrate.net
 [IPv6:2a01:488:66:1000:2ea3:77dd:0:1])
 (Authenticated sender: niklaas@kulturflatrate.net)
 by mail2.kulturflatrate.net (Postfix) with ESMTPSA id A3EA52DC50;
 Tue,  6 Oct 2015 11:51:52 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kulturflatrate.net;
 s=default; t=1444125112;
 bh=LhZBn6eMK/BFLzXdjeo6zDwC7Vw2nprlGCS9oDx1hKY=;
 h=Subject:To:References:Cc:From:Date:In-Reply-To;
 b=P0zbkPEBx6Z+XA0ipaorn0YVkaiT4z3rLOQcbE85dXMxPZXgUdKPddiWSaTfz6aIA
 m0tsJVL/BYhquqktHH+WZKrixiYEM4hnegbCNPWAE42eSXbrqup2mwFfTR251qSbKo
 z+iRu8SbYnr2ZR/EMerVgnm/6CVJxy63adgBLQT0=
Subject: Re: IPv6 only Jails cannot connect to the outside world
To: =?UTF-8?Q?Trond_Endrest=c3=b8l?= <Trond.Endrestol@fagskolen.gjovik.no>
References: <5611AFCA.4010909@kulturflatrate.net>
 <CA+tpaK0fyqEvc3kWMfhD9teogTG8euWfqEn1szmUhYXQ5e_UCg@mail.gmail.com>
 <5611CA44.4030602@radel.com> <56123260.1010901@kulturflatrate.net>
 <56127D73.5040001@hiwaay.net> <5612E192.6040404@kulturflatrate.net>
 <alpine.BSF.2.20.1510061137280.8676@mail.fig.ol.no>
Cc: FreeBSD questions <freebsd-questions@freebsd.org>
From: Niklaas Baudet von Gersdorff <niklaas@kulturflatrate.net>
Message-ID: <56139A43.9010904@kulturflatrate.net>
Date: Tue, 6 Oct 2015 11:54:11 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <alpine.BSF.2.20.1510061137280.8676@mail.fig.ol.no>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Oct 2015 09:51:55 -0000

On 06/10/15 11:42, Trond Endrestøl wrote:
> You could run local_unbound in each jail, point /etc/resolv.conf to 
> 127.0.0.1 or ::1, and have unbound forward each query to as many 
> resolvers as you like. Or use dns/bind910 if you prefer that one.

Thank you for pointing that out. I am not very much into DNS resolving
yet; but I already put your advice on my "further reading" list.

Would you recommend either of them?

-- 
Niklaas



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