Submit a ticketCall us

WebinarUpcoming Webinar: Know What’s Changed – with NEW Server Configuration Monitor

Change management in IT is critical. But, even with a good change management process, changes are too often not correctly tracked, if at all. The configuration of your servers and applications is a key factor in their performance, availability, and security. Many incidents can be tracked back to an authorized (and sometimes unauthorized) configuration change, whether to a system file, configuration file, or Windows® Registry entry. Join SolarWinds VP of product management Brandon Shopp to discover how the new SolarWinds® Server Configuration Monitor is designed to help you.

Register now.

Home > Success Center > Archive > 2018April16 - Deletes > 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
This article is slated for Deletion. Do not update this article. If you have questions please send a message to mt-feedback@solarwinds.com

Created by Elvin Perez, last modified by Su-Lyn Rosenberry-ret on Feb 06, 2017

Views: 211 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

Tags

This page has no custom tags.

Classifications

Internal Use Only