Q

How can I get the DNS name of a system?

This Content Component encountered an error
How can I get the DNS of a machine? I was asked to check whether each of the machines in a particular process could ping each other using the DNS. I can ping each using the IP address, but I am specifically being asked to ping each of them using the DNS. I am running Win2000.
There are many ways to get the DNS name of a system. You could do a "ping -a" on the IP address and see if a reverse lookup will provide it for you. You could also run "ipconfig /all" on each machine, which would also show you the host name and fully-qualified domain name. Or, you can use WMI (along with the Scriptomatic tool on the TechNet Script Center site) to programmatically read the value.
This was first published in November 2003

Dig deeper on Microsoft Exchange Server Mailbox Management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWindowsServer

SearchEnterpriseDesktop

SearchCloudComputing

SearchSQLServer

Close