A "DNS Name" (cname (full canonical name) or A-record (alias)) is defined on a DNS server, not the network device itself. You ned to retrieve the device's IP address and then do an nslookup against the domain's DNS server to ascertain the DNS name.
Hope this helps, please rate helpful posts.