> >lookup "foo" in /etc/hosts for either address type
> >lookup "foo.domain." in DNS (AAAA)
> >lookup "foo.domain." in DNS (A)
> >lookup "foo." in DNS (AAAA)
> >lookup "foo." in DNS (A)
> >
> >this seems the best to me, but I wouldn't know if it's a) easy, b) possible,
> >c) standards conforming. I'm not sure where /etc/hosts would go.
>
> As I said, the above order makes more sense. However, to do the above
> we need a MAJOR rewrite in src/lib/libc/net. BIND9 does not address
> this problem either. Let us (KAME) think what is the best solution
> in long-term, and short-term.
I think of doing at least followings soon.
-Add "::1 localhost" into src/etc/hosts
-Leave getaddrinfo() as is (not resolving system non-supporting af)
-Add -4 options to dual stack apps, which restrict them to
only resolv AF_INET. This is useful on INET6 enabled sysytems.
(most of such apps already support it, but some apps not yet.)
Yoshinobu Inoue
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message