Secure Private Access (ZPA)
Understanding and Installing the Zscaler DNS Record Generator
The Zscaler DNS Record Generator creates the DNS TXT records and the public and private keys for disaster recovery. The public key is used to verify the activation of Disaster Recovery Mode. The private key is used to sign the DNS TXT record.
The public key is uploaded on the Disaster Recovery Settings page and when configuring Zscaler Client Connector Profiles, and is used to trigger Disaster Recovery Mode. This is considered a signed disaster recovery activation. For improved security, Zscaler recommends that the signed DNS TXT records are used with the Zscaler DNS Record Generator.
In the case of an unsigned disaster recovery activation, the public key does not need to be uploaded.
The Zscaler DNS Record Generator creates the DNS TXT records in the correct format. However, you can create the DNS TXT records manually without the Zscaler DNS Record Generator. Zscaler recommends using the Zscaler DNS Record Generator for simplicity.
The DNS TXT records created by the Zscaler DNS Record Generator use a record format similar to the Domain Key Identified Mail (DKIM) record format. Provided are the DNS TXT record tags:
v=<1>
: The version of the DNS record.b=<...>
: The body indicates if Disaster Recovery Mode is enabled (on
) or disabled (off
), or if Disaster Recovery Test Mode is enabled (test
).m=<...>
: The Zscaler Internet Access (ZIA) forwarding profile actions indicate if the traffic is sent directly (fo
) or if the internet access is disabled (fc
).t=<...>
: The start time of disaster recovery in Coordinated Universal Time (UTC) seconds. This tag is optional and can be skipped for both signed and unsigned disaster recovery activations.x=<...>
: The end time of disaster recovery in UTC seconds. This tag is optional and can be skipped for both signed and unsigned disaster recovery activations.n=<...>
: The total number of DNS TXT records required for a multiple-part disaster recovery activation (e.g.,n=2
). This is only present for signed DNS TXT records.p=<...>
: The first or second part of the DNS TXT record activation (e.g.,p=2
). This is only present for signed DNS TXT records.bh=<...>
: The body hash indicates the signed hash of tag values (v
,d
,b
,m
,t
, andx
) in RSA-SHA256 and Base64 formats. This is only present for signed DNS TXT records.
Zscaler recommends that the DNS TXT records used to activate disaster recovery must have valid record tags. Invalid t
, x
, n
, p
, and bh
tags can result in disaster recovery activation to fail. The Zscaler DNS Record Generator creates DNS TXT records with valid formats and record tags.
The following table lists the format, sample, and supported values for the signed and unsigned DNS TXT records.
DNS TXT Record Format | Example DNS TXT Record | Supported Values |
---|---|---|
Signed DNS TXT records are in two parts, and are in the following formats:
|
| The version ( The following values are supported for the activation types (
The following values are supported for the body (
The following values are supported for the ZIA forwarding profile actions (
The ZIA forwarding profile actions ( The UTC start time ( The total number of DNS TXT records required for the multiple-part disaster recovery activation ( The message part index ( The body hash ( For example, the first The |
Unsigned DNS TXT records are in the following format:v=1;b=on|off|test;t=<start time>;x=<end time> | v=1;k=zpa;b=on;m=fo | The version ( The following values are supported for the activation types (
The following values are supported for the body (
The following values are supported for the ZIA forwarding profile actions (
The ZIA forwarding profile actions ( The UTC start time ( For example, a simple unsigned DNS TXT record is |
Installation
To install the Zscaler DNS Record Generator:
- In the ZPA Admin Portal, go to Configuration & Control > Administration Control > Disaster Recovery.
- Click Download DNS Record Generator.
The Zscaler DNS Record Generator is only supported for Windows OS devices.
- Open the installer and click Next.
- Select the checkbox to confirm that you have accepted the terms in the License Agreement, and then click Next.
- (Optional) Click Change… to specify where the Zscaler DNS Record Generator is installed. Select the destination and click OK.
- Click Next.
- Click Install.
- Click Finish.
After the Zscaler DNS Record Generator is installed, you can proceed to create the DNS TXT records used to activate disaster recovery.