Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK4o1Wz59aaygTo3hnKBq_7GK8SZUQ5CCLrrhT5ifZs4uXGihA@mail.gmail.com>
Date: Sat, 30 Nov 2013 09:16:54 +0000
From: Justin Cormack <justin@...cialbusservice.com>
To: musl@...ts.openwall.com
Subject: Re: IPv4 and IPv6 addresses in resolv.conf

On 30 Nov 2013 03:59, "Rich Felker" <dalias@...ifal.cx> wrote:
>
> On Fri, Nov 29, 2013 at 10:51:16PM -0500, Rich Felker wrote:
> > On Fri, Nov 29, 2013 at 10:45:26PM -0500, Strake wrote:
> > > On 29/11/2013, Rich Felker <dalias@...ifal.cx> wrote:
> > > > But that would mean complete unconditional DNS failure on systems
> > > > lacking IPv6.
> > >
> > > We could do so iff system has IPv6. Switching on whether system has
> > > IPv6 rather than whether resolv.conf has any IPv6 nameservers means
> > > * no check whether resolv.conf includes v6 server
> > > * that adding a v6 server to resolv.conf can not break DNS even on
> > > systems lacking v6
> > > which seems saner.
> >
> > OK, so how do we detect if the system "has IPv6"? I don't think it's
>
> BTW, short of an answer to this question, I think the approach I
> already suggested is rather safe. I can't imagine how an IPv6
> nameserver address would end up in resolv.conf on a system completely
> lacking IPv6 support at the kernel level.
>

I can imagine how it got there eg if you have a standard config or you
compile a new kernel and omit ipv6...

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.