[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2961.1495552481@warthog.procyon.org.uk>
Date: Tue, 23 May 2017 16:14:41 +0100
From: David Howells <dhowells@...hat.com>
To: ebiederm@...ssion.com (Eric W. Biederman)
Cc: dhowells@...hat.com, Aleksa Sarai <asarai@...e.de>,
James Bottomley <James.Bottomley@...senPartnership.com>,
trondmy@...marydata.com, mszeredi@...hat.com,
linux-nfs@...r.kernel.org, jlayton@...hat.com,
Linux Containers <containers@...ts.linux-foundation.org>,
linux-kernel@...r.kernel.org, viro@...iv.linux.org.uk,
linux-fsdevel@...r.kernel.org, cgroups@...r.kernel.org
Subject: Re: [RFC][PATCH 0/9] Make containers kernel objects
Eric W. Biederman <ebiederm@...ssion.com> wrote:
> > As an example, I could set up a client machine with two ethernet ports,
> > set up two DNS+NFS servers, each of which think they're called "foo.bar"
> > and attach each server to a different port on the client machine. Then I
> > could create a pair of containers on the client machine and route the
> > network in each container to a different port. Now there's a problem
> > because the names of the cached DNS records for each port overlap.
>
> Please look at ip netns add.
warthog>man ip | grep setns
warthog1>
> It does solve this in userspace rather simply.
Ummm... How? The kernel DNS resolver is not namespace aware.
David
Powered by blists - more mailing lists