The DNS Failover utility (dfo.exe) can be used in the failover and failback scripts to delete and add host and reverse lookup entries so that the source host name will resolve to the target IP address.
For example, the following command could be executed from a command line or included in a batch file:“c:
\Program Files\Double-Take Software\Double-Take\dfo.exe” /dnssrvname dnsserver_name /srcname source_name /srcip source_ip /tarname target_name /tarip target_ip /verbose
The DFO readme (Readme_DFO.htm) file documents DFO syntax, known issues, and workarounds. The readme file can be found in the folder where the Application Manager is installed.
Command |
dfo |
Description |
Used in script files to failover the DNS server name |
Syntax |
dfo [/dnssrvname [dnsservername] /srcname [sourceFQDN] /srcip [sourceip] /tarip [targetip] /tarname [targetFQDN] /recordtype [recordtype] /username [username] /password [password] /dnszone [dnszonename] /dnsdomain [dnsdomainname] /logfile [logfilename] /failback [fbswitch] /setpassword [username] [password] /getpassword /lock /unlock /trustee [trusteename] /sourceDN [sourceDN] /verbose /flushdns /machine [machineFQDN] /TTL [seconds] /test /debug /? | /help ] |
Options |
|
Password Encryption |
NOTE: This function must be run separate from a modify or list activity.
|
General Examples |
Lists all resource records on the specified DNS server that match the source criteria
Modifies all resource records on the specified DNS server that match the source criteria, using the credentials of the account running the program to connect to the DNS server
Modifies (fails back) all resource records on the specified DNS server that were changed on failover
Modifies all resource records on the specified DNS server that match the source criteria, using the username and password to connect to the DNS server |
Password Encryption Examples |
Stores the username (mydomain.com\admin) and password (mypassword) in the default credentials file (dfo_credentials.dat)
Modifies all resource records on the specified DNS server that match the source criteria, using the username and /getpassword to retrieve the correct password for connecting to the DNS server |