[EMAIL PROTECTED] wrote:
>       if we want to be proactive (to protect normal applications), we could
>       reject such PTR responses.  however, if we reject those, we will be
>       hiding certain data on the DNS (i.e. DNS diagnostic tool written with
>       getnameinfo(3) will not be able to access raw DNS data).

getnameinfo(3) is not suitable for use in a DNS diagnostic tool anyway.
get{addr,name}info(3) implement a name<=>address mapping which is defined
in a way that in part uses DNS but has other elements also.  (How many
hosts do you know that still have an /etc/hosts file providing part of
the mapping?)  get{addr,name}info(3) should be consistent with each other,
providing a consistent two-way mapping as far as possible; things that
look like dotted-quad addresses should not be returned by getnameinfo(3)
as hostnames, because getaddrinfo(3) will not treat them as hostnames.

-zefram
-- 
Andrew Main <[EMAIL PROTECTED]>
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to