Nmap::Scanner::Hostname(3)

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)