Submit a ticketCall us

Announcing NCM 7.7
With NCM 7.7, you can examine the rules that make up an access control list for a Cisco ASA device. Then you can apply filters to display only rules that meet the specified criteria, order the rules by line number or by the hit count, and much more.
See new features and improvements.

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: 12 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