Solved

Update AD DNS entry manually from command line

Posted on 2013-06-19
3
593 Views
Last Modified: 2013-06-19
I run active directory integrated DNS, and I allow secure and non secure updates, primarily so workgroup servers can register with my DNS server.

I have 2 linux machines that run DHCP, and I'd like them to also register with my AD DNS server, but I just can't figure it out.

I've given up trying to get that to work properly, I'm ok with that.  I put the entries in manually.  The issue becomes when I fail over to my DR site, and the machine takes on its new ip address (by design) DNS doesn't get updated

What I want to do as a work around, is create a script that I can invoke, that will reach out to my AD DNS server, and change the DNS record for the host.  I know what the address will be (using a DHCP reservation) so all I need to do is have a script that can update DNS, and I can configure it to run when I'm in a failover state.

So bottom line, is there a way to update AD DNS from the command line, for an A record that already exists?  If there is, can I can easily make the changes from the command line, I'm sure I can whip up a script that fits my needs.

Thanks.
0
Comment
Question by:Vjz1
  • 2
3 Comments
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 500 total points
ID: 39260853
Not near a server to check it - but look at DNSCMD.
0
 

Author Closing Comment

by:Vjz1
ID: 39260859
That's what I'm looking for.  thanks
0
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 39260860
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Monitoring local administrators members 6 66
Questions about DHCP migration 5 60
Rerouting users to DR CAS server exchange 2013 3 37
options for ipv4 failover 2 25
Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
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…

776 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