Solved

Update AD DNS entry manually from command line

Posted on 2013-06-19
3
601 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 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 96

Expert Comment

by:Lee W, MVP
ID: 39260860
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

739 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