You can use following command both Windows and Linux
nslookup IP_Address/Domain_name DNS_server
nslookup lg.ca.hostfav.com 8.8.8.8 Server: google-public-dns-a.google.com Address: 8.8.8.8 Non-authoritative answer: Name: lg.ca.hostfav.com Address: 104.225.209.xx