Skip to main content
Migration Notice
We're migrating documentation from the old portal into this one. Some things may look a little different or out of place in the meantime — we know, and we're working to get it right. If something's unclear or doesn't look right, let us know.
Version: 2.15.1

Configure Access Zone DNS Dual Delegation

Introduction​

This guide explains how to configure DNS Dual Delegation for Access Zone Failover in a PowerScale environment. DNS Dual Delegation ensures seamless client access to PowerScale storage clusters during failover scenarios. It works by delegating DNS queries for specific Access Zone SmartConnect names to both the primary and secondary clusters. This setup allows DNS resolution to automatically point clients to the appropriate cluster without requiring manual intervention during a disaster recovery event.

Unsupported Configurations​

Do not use the following configurations with SmartConnect zones:

  • DNS forwarding. DNS forwarding is untested and not recommended. Name server (NS) delegation is the recommended method to configure your DNS servers, and it is often used with Infoblox.
  • Disabled recursive queries. Do not disable recursive queries on your DNS server. This is untested and not recommended.
  • CNAME records. Do not use CNAME records that point to SmartConnect names, and do not create a loop that uses CNAME records within other resource records.

Dell Isilon documentation also recommends against CNAME records. OneFS cannot discover which CNAME points to a given SmartConnect zone name, CNAME records complicate and extend the failover process because many of them must be updated, and Active Directory Kerberos does not work with CNAME records. Create a SmartConnect zone alias instead:

isi networks modify pool --add-zone-aliases=<alias_name>

After you create the zone alias, create a matching delegation record in your site DNS that points to a SmartConnect Service IP (SSIP). For details, see section 8.10.2, "SmartConnect zone aliases as opposed to CNAMEs", in Dell Isilon Advanced Networking Fundamentals. RFC 1912 also states that a CNAME record cannot coexist with other data, and advises against combining CNAME records with records that point to other names, such as MX, CNAME, PTR, and NS records.

Delegation Overview​

Access Zone failover with Eyeglass applies to SmartConnect zones on the IP pools that fail over. Eyeglass creates an alias on the target PowerScale cluster that existed on the source cluster IP pool. DNS delegation records are NS (name server) records that point at the Subnet Service IP (SSIP) that serves the IP pool involved in the failover.

The IP pools are updated to forward SmartConnect zone lookups to the SSIP of the newly active cluster, using the newly created alias on the IP pool.

Eyeglass automates this process during failover. The SmartConnect zone on the source cluster is renamed, which preserves it for failback operations, and a breadcrumb zone remains with the prefix igls-original- followed by the original zone name. The rename has a second benefit: the SSIP of the source cluster no longer answers queries that are sent to it.

To see how to set up dual delegation with Microsoft DNS, watch this 5-minute video. Other DNS vendors work as well, because the concept is the same.

Before a failover, DNS resolution typically uses a single NS record that points at the primary cluster:

DNS name resolution before failover, with NFS clients resolving the primary SmartConnect zone through the name resolution solution

After you manually update the NS record to point at the SSIP of the secondary cluster, DNS resolves the SmartConnect zone to the secondary cluster.

Frequently Asked Questions​

Does Support Include My DNS Vendor?​

The examples in this guide use Microsoft DNS. For all other DNS vendors, use the vendor documentation to create name server records. Your support contract does not include support for DNS itself, so get the how-to procedures for creating name server records from your DNS vendor.

Is DNS Forwarding the Same as Dual Delegation?​

No. DNS forwarding is not based on DNS standards, and each DNS vendor implements it differently. You can use DNS forwarding, but this guide no longer applies, DNS debug tools such as nslookup and dig cannot validate a DNS forwarding configuration, and you must disable Eyeglass dual DNS validation. Support cannot help you validate a DNS forwarding configuration. All DNS vendors support name server records, which is the recommended method.

Should I Delegate with an IP Address?​

The examples show IP addresses for simplicity. To follow DNS best practices, use A records in the name server delegation records.

Can I Add Two NS Records to the Delegation Ahead of Time?​

Yes. You can add NS records for both the primary and the secondary SSIP ahead of time. This removes the manual DNS step after a failover, which simplifies Access Zone failover.

Can I Use Dual Delegation Without Eyeglass?​

No. The SmartConnect zone on the primary cluster must be removed or renamed. Eyeglass makes this an atomic, automated process during failover, when the file system on the secondary cluster becomes writable, which is the only time you need this functionality.

Does Dual Delegation Support SMB and NFS Failovers?​

Yes. Both protocols benefit from dual delegation. SMB handles it better, because retrying a failed mount only requires you to click the drive letter or access the UNC path again to look up the IP address for the name. NFS clients must unmount and remount, because they mount an IP address after name resolution completes, even if the /etc/fstab entry uses an FQDN. With dual delegation, Script Engine can focus entirely on host-side automation, without DNS updates.

Set Up Dual Delegation​

Delegate the SmartConnect zone with two NS records: NS record 1 points at the SSIP of the primary cluster, and NS record 2 points at the SSIP of the secondary cluster that answers DNS queries for the IP pool.

Microsoft DNS Manager showing two name server records for the userdata zone

The following two diagrams show the DNS setup before and after failover with Eyeglass.

Before failover: the NS delegation for the SmartConnect zone userdata.ad1.test has two records, NS 1 at 172.31.1.201 (primary) and NS 2 at 172.31.1.200 (secondary). The SmartConnect zone on the target cluster already has the igls-original- prefix before failover.

Before Access Zone failover: the primary cluster serves userdata.ad1.test, and the secondary cluster has the igls-original- prefix applied

After failover: the NS records are unchanged. Eyeglass has applied the igls-original- prefix to the SmartConnect zone on the source cluster, and the secondary cluster now serves userdata.ad1.test.

After Access Zone failover: the igls-original- prefix is applied to the primary cluster, and the secondary cluster serves userdata.ad1.test

How Dual Delegation Works with DNS​

Before a failover:

  1. The DNS server can send queries for the SmartConnect zone userdata.ad1.test to either name server record.
  2. If a query goes to the secondary cluster before failover, PowerScale answers with DNS return code 5 (REFUSED).
  3. This tells the DNS server to reissue the query to the second name server record.
  4. Because the primary cluster is configured for this SmartConnect zone, it answers the query with one of the IP addresses in the IP pool, as expected.
  5. The DNS server returns the IP address to the client that issued the query.
note

Apply the prefix igls-original-<production cluster SmartConnect name> to the SmartConnect name on the target IP pool. Dual delegation requires a SmartConnect name to exist on the target IP pool, and this is the recommended syntax. Eyeglass detects the igls-original- prefix on an Access Zone pool and updates the DR dashboard with the FAILEDOVER state.

Failover Steps​

The steps are the same as before failover, except that Eyeglass has disabled the SmartConnect zone name on the primary cluster by adding the igls-original- prefix:

  1. The primary cluster responds with DNS return code 5 (REFUSED).
  2. The DNS server reissues the query to the SSIP of the secondary cluster, which answers it.

These steps assume a TTL of 0 on the NS records, to avoid caching name-to-IP address mappings. This works with the exception of Linux mount commands.

In a real DR event, as opposed to a controlled failover where both clusters are reachable, make sure the primary cluster is not reachable by IP address (if the disaster is partial). Also prevent it from coming up again after the DR event, so that it does not answer DNS queries again, or remove its entry from DNS. This is standard practice, and it is mentioned here for completeness.

Example: DNS Traces of a Failover from a Linux Client​

The following Wireshark traces show a failover from the DNS point of view of a Linux client.

  1. The Linux client 172.31.1.101 issues a query for userdata.ad1.test.

    Wireshark trace of the DNS query from the Linux client to the DNS server

  2. The DNS server (172.16.80.6) sends the query to the SSIP of the primary cluster, which is no longer the active cluster.

    Wireshark trace of the DNS server query to the primary cluster SSIP

  3. The primary cluster (172.31.1.201), whose SmartConnect zone was renamed with the igls-original- prefix, answers the query from the DNS server with Refused.

    Wireshark trace of the primary cluster response with the Refused flag

  4. The DNS server reissues the query to the second NS record, which is the SSIP of the secondary cluster (172.31.1.200).

    Wireshark trace of the DNS server query to the secondary cluster SSIP

  5. The secondary cluster responds with a new IP address from the target IP pool that Eyeglass mapped for the failover.

    Wireshark trace of the secondary cluster response with the new IP address

  6. The client mount can now succeed, using the new IP address in the IP pool of the secondary cluster to mount the shares or exports.

DNS Return Codes​

DNS Return MessageDNS Response CodeFunction
NOERRORRCODE: 0DNS query completed successfully
FORMERRRCODE: 1DNS query format error
SERVFAILRCODE: 2Server failed to complete the DNS request
NXDOMAINRCODE: 3Domain name does not exist
NOTIMPRCODE: 4Function not implemented
REFUSEDRCODE: 5The server refused to answer for the query
YXDOMAINRCODE: 6Name that should not exist, does exist
XRRSETRCODE: 7RRset that should not exist, does exist
NOTAUTHRCODE: 8Server not authoritative for the zone
NOTZONERCODE: 9Name not in zone

See Also​

See the Access Zone Failover Guide for more information about SmartConnect Zone names and aliases, and other configuration steps and considerations for the failover process.