Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2015 22:46:10 +0200
From:      Niklaas Baudet von Gersdorff <niklaas@kulturflatrate.net>
To:        "William A. Mahaffey III" <wam@hiwaay.net>, freebsd-questions@freebsd.org
Subject:   Re: IPv6 only Jails cannot connect to the outside world
Message-ID:  <5612E192.6040404@kulturflatrate.net>
In-Reply-To: <56127D73.5040001@hiwaay.net>
References:  <5611AFCA.4010909@kulturflatrate.net> <CA%2BtpaK0fyqEvc3kWMfhD9teogTG8euWfqEn1szmUhYXQ5e_UCg@mail.gmail.com> <5611CA44.4030602@radel.com> <56123260.1010901@kulturflatrate.net> <56127D73.5040001@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070905010305070801050004
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

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.

-- 
Niklaas

--------------070905010305070801050004
Content-Type: message/rfc822;
 name="Attached Message"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="Attached Message"

Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: niklaas@kulturflatrate.net
Received: from mx2.freebsd.org (mail.kulturflatrate.net [IPv6:2a01:488:66:1000:2ea3:77dd:0:1])
	by mail2.kulturflatrate.net (Postfix) with ESMTPS id F07A22D571
	for <niklaas@kulturflatrate.net>; Mon,  5 Oct 2015 13:28:15 +0200 (CEST)
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx2.freebsd.org (Postfix) with ESMTPS id 4447867C27;
	Mon,  5 Oct 2015 11:28:14 +0000 (UTC)
	(envelope-from owner-freebsd-questions@freebsd.org)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5])
	by mx1.freebsd.org (Postfix) with ESMTP id 21C7C88B;
	Mon,  5 Oct 2015 11:28:14 +0000 (UTC)
	(envelope-from 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 9B1929B2262
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Mon,  5 Oct 2015 11:28:08 +0000 (UTC)
 (envelope-from herbert@oslo.ath.cx)
Received: from oslo.ath.cx (oslo.ath.cx [144.76.166.229])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 6401886A
 for <freebsd-questions@freebsd.org>; Mon,  5 Oct 2015 11:28:07 +0000 (UTC)
 (envelope-from herbert@oslo.ath.cx)
Received: from oslo.ath.cx (localhost [IPv6:::1])
 by oslo.ath.cx (Postfix) with SMTP id 903A11221;
 Mon,  5 Oct 2015 13:27:59 +0200 (CEST)
Date: Mon, 5 Oct 2015 13:27:59 +0200
From: "Herbert J. Skuhra" <herbert@oslo.ath.cx>
To: Niklaas Baudet von Gersdorff <niklaas@kulturflatrate.net>
Subject: Re: IPv6 only Jails cannot connect to the outside world
Message-ID: <20151005112759.GB4567@oslo.ath.cx>
References: <5611AFCA.4010909@kulturflatrate.net>
 <CA+tpaK0fyqEvc3kWMfhD9teogTG8euWfqEn1szmUhYXQ5e_UCg@mail.gmail.com>
 <5611CA44.4030602@radel.com> <56123260.1010901@kulturflatrate.net>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <56123260.1010901@kulturflatrate.net>
User-Agent: Mutt/1.5.24+21 (a07e8215a0ef) (2015-08-30)
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>
Cc: Adam Vande More <amvandemore@gmail.com>, freebsd-questions@freebsd.org,
 Jon Radel <jon@radel.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: owner-freebsd-questions@freebsd.org
Sender: owner-freebsd-questions@freebsd.org

On Mon, Oct 05, 2015 at 10:18:40AM +0200, Niklaas Baudet von Gersdorff wrote:
> 
> Thus it seems that, in an IPv6 only jail, I may not list IPv4
> nameservers in /etc/resolv.conf because otherwise I get the weird error
> that it cannot resolve the hostname although it actually can? Is that
> intended?
> 
> Probably I'm missing something.

% man 5 resolv.conf

     nameserver  Internet address (in dot notation) of a name server that the
                 resolver should query.  Up to MAXNS (currently 3) name
                 servers may be listed, one per keyword. [...]

-- 
Herbert
_______________________________________________
freebsd-questions@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

--------------070905010305070801050004--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5612E192.6040404>