Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Can I get solar winds to change a DNS alias in Active directory based upon a specific set of events or conditions? I have a collection of applications that use hostnames in combination with database names in order to resolve database connections, problem is that they haven't considered how a failover would work in practice so I want the product to provoke a change in DNS to point the apps at the right place if we get into a failure situation.

Can it be done?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Windows includes the dnscmd command that can edit records from a command-line. Take a look at the /NodeDelete and /RecordAdd commands. If you write a bit of script and tie it to SolarWinds, you should be able to accomplish this.

If you rather use Powershell than windows script, I found this module on TechNet that could help:
http://gallery.technet.microsoft.com/scriptcenter/Update-DNS-records-with-da10910d

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.