F21 System Wide Change: Default Local DNS Resolver

Petr Spacek pspacek at redhat.com
Tue Apr 29 15:39:45 UTC 2014


On 29.4.2014 17:27, Colin Walters wrote:
> [ Dropping devel-announce ]
>
> On Tue, Apr 29, 2014 at 11:15 AM, Alexander Larsson <alexl at redhat.com> wrote:
>>
>> Not sure how to fix something like that though...
>
> I think in both cases (host and container) it would be best if the local
> resolver offered a local-only API (e.g. unix domain sockets, kdbus).  Would
> require teaching glibc how to speak that API though. Then if it was a Unix
> domain socket, we could bind mount that in from the host, same way as is the
> plan for other shared services.

It can work only for libraries we are able to modify. Don't forget that there 
is *a lot* of DNS resolvers. IMHO anything except standard DNS protocol over 
UDP/TCP is no-go.

-- 
Petr^2 Spacek


More information about the devel mailing list