Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

Home > Success Center > Failover Engine (FoE) > How to Configure SolarWinds Failover Engine to Update BIND9 DNS Servers Deployed in a WAN

How to Configure SolarWinds Failover Engine to Update BIND9 DNS Servers Deployed in a WAN

Table of contents
Created by Elvin Perez, last modified by Su-Lyn Rosenberry on Feb 06, 2017

Views: 7 Votes: 0 Revisions: 4

Overview

This article provides information about how to configure Failover Engine to update BIND9 DNS servers when deployed in a WAN.

Environment

  • All versions of Failover Engine

Steps

The utility NSUpdate used for updating the BIND9 DNS server must be installed on the Orion Failover Engine server pair. This article does not cover the installation or detail of the utility required by the vendor's DNS server. Additionally, this article provides a sample script and the steps required to configure Orion Failover Engine to run the script.

  1. Create a script that includes the following commands:

    NSUPDATE "update delete $HOSTNAME A\n";
    NSUPDATE "update add $HOSTNAME $TTL A $dnsip\n";


    Sample script to update BIND9 DNS servers:

    Note: It will be necessary to create a Transaction Signature (TSIG) to use the variable $keyfile as well as set the other variables.

    chdir ($KEYDIR);
    open (NSUPDATE, "| /usr/sbin/nsupdate -k $KEYFILE");
    print NSUPDATE "server $NAMESERVER\n";
    print NSUPDATE "update delete $HOSTNAME A\n";
    if ($dnsip ne 'NO') {
    print NSUPDATE "update add $HOSTNAME $TTL A $dnsip\n";
    }
    # print NSUPDATE "show\n";
    print NSUPDATE "send\n";
    close (NSUPDATE);

  2. Create a Network Configuration Task via the SolarWinds Orion Failover Manager using the steps below:
    1. Launch the SolarWinds Orion Failover Manager. 
    2. Click on the Applications: Tasks tab
    3. Click on the User Accounts button. 
    4. Click the Add button. 
    5. Enter the credentials for an account with rights to update the DNS (a member of the Administrators or Server Operators group on the target server). 
    6. Click OK, and then Close
    7. Click the Add button to add a new task. 
    8. Provide a descriptive name for the Task (i.e. DNSUpdate). 
    9. Select Network Configuration for Task type. 
    10. Select either primary or secondary for the server the task should run on as appropriate. 
    11. In the Command field, enter the path to the previously configured script file. 
    12. In the Run As field select the appropriate user account from the drop down and then click OK.

 

 

 

Last modified
15:48, 6 Feb 2017

Tags

This page has no custom tags.

Classifications

Public