verify remote host dns settings

Posted on 2012-09-12
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
    LVL 59

    Accepted Solution

    Here is a good powershell command to get you that information that I have used before
    LVL 57

    Assisted Solution

    by:Mike Kline
    You could also use a tool like psexec against a machine

    In one of the examples they show ipconfig /all


    LVL 7

    Author Comment

    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
    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    [b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
    I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
    This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
    This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now