On Mon, Feb 21, 2005 at 04:53:42PM +0100, Matthias Andree wrote:
> On Mon, 21 Feb 2005, Mark Brown wrote:

> > Advising applications to watch out for AAAA addresses being returned by
> > IPv6 lookups is actually sensible behaviour since there's a RFC 2133
> > specified resolver option inet6 which can result in IPv6 addresses being
> > returned by gethostbyname().

> This violates POSIX. Leafnode will not support this. How would I turn
> this on under Linux? resolv.conf(5), host.conf(5) aren't helpful and
> contain neither inet6 nor v6 (case insensitively).

Putting "options inet6" into resolv.conf ought to do the trick.
Stricter checking on the results of gethostbyname() ought to do the
trick I'd imagine.

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to