beautypg.com

HP Storage Mirroring Software User Manual

Page 346

background image

Workload protection

Page 345 of 677

l

Fully qualified domain name of the DNS server—DNSServer.domain.com

l

DNS zone—domain.com

You would add the following to your failover script to delete the host and reverse lookup
entries and add new entries associating the source to the target.

dnscmd DNSServer.domain.com /RecordDelete domain.com alpha A 192.168.1.108 /f

dnscmd DNSServer.domain.com /RecordDelete 192.168.in-addr.arpa 108.1 PTR

alpha.domain.com /f

dnscmd DNSServer.domain.com /RecordAdd domain.com alpha A 116.123.2.47

dnscmd DNSServer.domain.com /RecordAdd 116.123.in-addr.arpa 47.2 PTR alpha.domain.com

You would add the following to your failback script to delete the host and reverse lookup
entries and add new entries associating the source with its original identity.

dnscmd DNSServer.domain.com /RecordDelete domain.com alpha A 116.123.2.47 /f

dnscmd DNSServer.domain.com /RecordDelete 116.123.in-addr.arpa 47.2 PTR

alpha.domain.com /f

dnscmd DNSServer.domain.com /RecordAdd domain.com alpha A 192.168.1.108

dnscmd DNSServer.domain.com /RecordAdd 192.168.in-addr.arpa 108.1 PTR alpha.domain.com

See your Windows documentation or the Microsoft web site for more details on the
DNSCMD command.