Nmap::Scanner::Hostname(3p)

Name
Hostname - Holds a host's DNS name and the type of DNS record used
           to get the name (CNAME or PTR).

  name()
Name of host

  type()
Type of name record (PTR, CNAME)