Gregory Neil Shapiro wrote:
> The latest FreeBSD 4.7-STABLE /etc/namedb/named.conf contains:
> 
> // RFC 3152
> zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA" {
>         type master;
>         file "localhost-v6.rev";
> };
> 
> // RFC 1886 -- deprecated
> zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" {
>         type master;
>         file "localhost-v6.rev";
> };

Which is what's missing in the DNS where the reverse lookup fails;
likely, it's a bug that FreeBSD does not come with a caching DNS
server enabled by default, out of the box.

The FreeBSD library bug is that the /etc/hosts file entry:

        ::1

is not canonized before being compared, for the reverse lookup.

It can probably be worked around by spcifying:

        0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1

as the left hand side for the IPv6 loopback address, instead of ::1,
in the /etc/hosts file.  I don't recommend this, since it would not
encourage the author of the IPv6 resovler code to fix the bug they
introduced.

-- Terry

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

Reply via email to