change active directory DNS record from unix scripting..

OK, we need to change a record on a windows 2008 DNS server using unix scripting. We could install SSH somewhere on windows and execute some command to get the goal.. questios are:

1- which command to use to change a record A inside Windows DNS?
2- Which possibilities are to execute this command remotely?

Would like to see your opinions.... thanks,.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I'm afraid I know nothing about scripting in Unix, but within Windows, the dnscmd command allows command-line management of DNS. There's no specific switch for modifying a record, but the /recorddelete and /recordadd switches to delete and add records, respectively.

The complete command syntax is here, and as you can see, remote administration is built into the utility. Note, however, that the utility is only available either on a DNS server or a machine with the Remote Server Administration Tools installed.
sminfoAuthor Commented:
but, do I have to delete and add the record? no way to just 'change' it?

is dnscmd part of windows OS?

what do you mean by " machine with the Remote Server Administration Tools installed. "?
There's no way to change a record via the command line, as far as I can tell; it has to be deleted and re-added.

Dnscmd is not part of Windows by default. It is added to a server as part of the DNS Server role. On a non-DNS server, it is part of the Remote Server Administration Tools (RSAT) feature, which is enabled through Roles and Features in Server Manager.

RSAT is also available as a separate download for client machines. (The linked version of RSAT is for Windows 7; there are other versions for other Windows clients.)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sminfoAuthor Commented:
ok.. thanks DrDave!!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.