>>              lookup /etc/hosts for IPv6 address
>>              lookup DNS for IPv6 address             <---
>>              lookup /etc/hosts for IPv4 address
>>              lookup DNS for IPv4 address
>>      Ben dislikes the second item on the above.
>What I dislike really is looking up the unqualified name in the root
>domain *before* checking the qualified name for an IPv4 address.  Is
>something like this possible, for unqualified names?
>
>assume query "foo", default domain is "domain" ...
>
>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.

        More description can be found in NetBSD PR I've replied (URL
        attached in one of previous emails).

itojun


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to