Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Update AD DNS entry manually from command line

Posted on 2013-06-19
3
Medium Priority
?
612 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 2000 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 96

Expert Comment

by:Lee W, MVP
ID: 39260860
0

Featured Post

Q2 2017 - Latest Malware & Internet Attacks

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out our latest Quarterly Internet Security Report!

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

648 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