IPv6 only Jails cannot connect to the outside world

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Tue Oct 6 09:42:43 UTC 2015


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.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list