[Webinar] Learn how to a build a cloud-first strategyRegister Now


verify remote host dns settings

Posted on 2012-09-12
Medium Priority
Last Modified: 2012-09-12
Instead of logging into each remote server\host on a network to verify it's IP in the DNS settings, is there a way to do that using ping or some other command/utility?

I just want to verify that the servers are using the corret DNS IP's and possibly also its order. Thanks.
Question by:tolinrome
  • 2
LVL 59

Accepted Solution

Darius Ghassem earned 1000 total points
ID: 38391212
Here is a good powershell command to get you that information that I have used before

LVL 57

Assisted Solution

by:Mike Kline
Mike Kline earned 1000 total points
ID: 38391256
You could also use a tool like psexec against a machine


In one of the examples they show ipconfig /all



Author Comment

ID: 38391372
ok, maybe you can help meout with the powershell since I know nothing about it.
Where do I put the hostnames, how do I execute it, etc etc. thanks.
LVL 59

Expert Comment

by:Darius Ghassem
ID: 38391394
The script will ask for the hostname when you run the script it will ask a question to you.

Powershell is installed on Windows 2008 Server or you can install through features.


Copy the script into a file call GetDNS.ps1

Run it from within powershell

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Suggested Courses

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question