Designing Azure NetApp Files with Private DNS Resolver
This post has been written with the collaboration of Rizul Khanna
Applies to: Azure NetApp Files — SMB, dual-protocol, and NFSv4.1 Kerberos volumes deployed in hub-spoke or Azure Virtual WAN topologies using an external private DNS forwarder.
Overview
Azure NetApp Files (ANF) has a hard dependency on DNS for all volume types that integrate with Active Directory (AD): SMB, dual-protocol (SMB + NFS), and NFSv4.1 with Kerberos. Unlike most Azure PaaS services, ANF does not use Azure Private Link and has no privatelink.* zone. Its volumes attach directly to a delegated subnet, and their hostnames are registered into AD-integrated DNS via Secure Dynamic DNS (DDNS). This architecture means DNS design decisions for the ANF delegated subnet are fundamentally different from those that apply to storage accounts, SQL databases, or other services that use private endpoints.
This article documents what DNS resolution ANF requires, how to correctly configure an external private DNS forwarder in hub-spoke and Virtual WAN deployments, and the specific undocumented requirements that cause volume creation failures and SMB permission errors in practice. Several requirements covered here are not present in the official Azure NetApp Files documentation and have been identified through field support cases.
ANF does not inherit the VNET DNS server setting. It queries only the two DNS server IPs configured in the Active Directory connection on the NetApp account. This is not documented in the ANF networking or AD connection articles. The VNET DNS server setting is irrelevant to ANF volume creation and AD join behavior — only the AD connection DNS IPs matter.
Architecture overview
The following diagram shows the two separate DNS paths that must be configured when ANF is deployed in a hub-spoke or Virtual WAN topology with an external private DNS forwarder. The client resolution path (VNET DNS setting) and the ANF internal resolution path (AD connection DNS fields) are distinct and must not be conflated.
Note:
ANF AD connection DNS IPs must point to the external DC IPs directly — not to the private DNS forwarder. The forwarder handles client-side resolution only and must have both forward and reverse rulesets for the AD domain.
Figure 1: DNS resolution paths for ANF with an external private DNS forwarder. Client VMs use the forwarder (VNET DNS setting). ANF uses the external AD DC IPs directly (AD connection DNS fields). Both forward and reverse lookup rulesets are required on the forwarder.
What DNS must provide for Azure NetApp Files
Outbound resolution — ANF querying DNS
ANF must be able to resolve the following records from the DNS IPs specified in the AD connection:
- AD domain controller SRV records: _ldap._tcp.<site>._sites.dc._msdcs.<domain>, _kerberos._tcp.dc._msdcs.<domain>, and site-scoped equivalents
- Kerberos KDC records: _kerberos._tcp.<domain> and _kerberos-master._tcp/udp.<domain>
- DC A records: Forward lookup for each DC hostname to its IP
- PTR (reverse) records: IP-to-hostname for each DC — required for dual-protocol volume creation, NFSv4.1 Kerberos, LDAP-over-TLS certificate validation, and NTFS ACL operations on SMB shares.
Note:
_kerberos-master._tcp and _kerberos-master._udp SRV records are not created automatically by Active Directory DNS. They must be added manually in the DNS zone. Their absence causes Kerberos failures that do not clearly identify DNS as the root cause. This requirement is not documented in any ANF article.
ANF performs Secure Dynamic DNS (DDNS) using GSS-TSIG to register SMB and dual-protocol volume hostnames in AD DNS. This requires that the DNS IPs in the AD connection belong to Microsoft AD-integrated DNS servers. External private DNS forwarders (Infoblox, BIND, Unbound, and similar appliances) do not support GSS-TSIG and will silently discard DDNS updates — volume hostnames will not appear in DNS and SMB mounts will fail. No error is surfaced in the ANF portal or activity log when DDNS is silently dropped.
Inbound resolution — clients resolving ANF hostnames
SMB and dual-protocol volumes are accessed via a hostname of the form <smb-prefix>-XXXX.<ad-dns-domain>, where the four-character suffix is assigned by ANF and cannot be overridden. Clients must resolve this hostname to the volume IP via the VNET DNS server setting, which in enterprise environments points to the external private DNS forwarder. The forwarder must have a forward lookup ruleset for the AD domain pointing to the external DC IPs. NFSv3 mounts use the volume IP directly and do not require hostname resolution.
Note:
NFSv3 volume creation success does not indicate SMB readiness. NFSv3 mounts use the volume IP directly and require no AD join, Kerberos exchange, or reverse DNS. SMB and dual-protocol volumes require all three. Using NFSv3 as a connectivity proxy during SMB troubleshooting produces false confidence. This distinction is not documented in ANF troubleshooting guidance.
Configuring the external private DNS forwarder
The two DNS paths — client resolution vs ANF internal
In environments using an external private DNS forwarder (Infoblox, BIND, Windows DNS VM, or similar appliance), two distinct DNS paths must be kept separate. The VNET DNS server setting governs client resolution of ANF SMB hostnames and should point to the external forwarder. The ANF AD connection DNS fields govern ANF's own resolution of DCs and DDNS registration and must point directly to writable Microsoft AD-integrated DC IPs.
| DNS Path | Used By | Correct Target |
| Client resolution (VNET DNS setting) | VMs, Citrix, application servers resolving ANF SMB hostnames. | External private DNS forwarder, which forwards AD zone queries to external DC IPs |
| ANF internal resolution (AD connection DNS fields) | ANF service — DDNS, Kerberos, LDAP, SRV lookup | Writable AD-integrated external DC IPs directly — not the forwarder |
Required rulesets on the external private DNS forwarder
The external private DNS forwarder must have both of the following rulesets configured. Missing either one produces failures that are difficult to diagnose because forward DNS tests pass while the actual failure occurs in a different path.
References:
Understanding Private DNS resolver endpoints & rulesets
How to create Private Reverse DNS records
Forward lookup ruleset
Forward all queries for the AD domain to the external DC IPs:
Zone: ad.contoso.com
Targets: <DC-IP-1>:53, <DC-IP-2>:53 (writable external DC IPs)
Reverse lookup ruleset (most commonly missing)
Forward reverse lookup queries for the DC IP range to the external DC IPs:
Zone: <reverse-octets>.in-addr.arpa.
Targets: <DC-IP-1>:53, <DC-IP-2>:53 (same external DC IPs)
Critical:
The reverse lookup ruleset is the most commonly missing configuration item and causes a failure that forward DNS tests do not detect. Without it, Windows clients cannot resolve DC IPs to hostnames. This produces the following error when provisioning NTFS permissions on an ANF SMB share: 'The program cannot open the required dialog box because it cannot determine whether the computer named is joined to a domain.' All connectivity tests pass. Forward DNS passes. The volume was created successfully. Only the reverse lookup fails — and only when NTFS ACL operations are attempted. This failure mode and its root cause are not documented in any ANF article.
GSS-TSIG constraint — why the forwarder cannot be in the ANF AD connection
External private DNS forwarders (including Infoblox, BIND, Unbound, and third-party appliances) do not support GSS-TSIG, the protocol ANF uses to securely register SMB volume hostnames into AD DNS. If a forwarder IP is placed in the ANF AD connection DNS fields, ANF sends DDNS update packets to the forwarder, which discards them silently. The volume hostname never appears in DNS. Clients cannot mount by name. No error is returned in the ANF portal.
The correct design: external DC IPs in the ANF AD connection, external private DNS forwarder as the VNET DNS server for clients only.
Role of 168.63.129.16
168.63.129.16 is the Azure-provided internal resolver. It should be configured as the upstream forwarder target on the external private DNS forwarder for all queries not covered by AD or other conditional forwarders. This allows Azure-hosted DNS zones (such as any privatelink.* zones linked to your VNET) to resolve correctly through the forwarder.
IMPORTANT:
168.63.129.16 must never be placed in the ANF AD connection DNS fields. It is not AD-aware, cannot answer SRV queries for your domain, cannot accept DDNS updates, and is unreachable from on-premises over ExpressRoute or VPN. Its correct position is as an upstream target on the external private DNS forwarder — not in ANF's AD connection. This is not stated anywhere in the ANF documentation set.
DNS forwarder pattern comparison
| Pattern | DDNS Support | Reverse DNS | Ops overhead | Best Fit |
| AD DNS on DCs + upstream 168.63.129.16 | Yes, Native | Yes, if reverse zones on DC's | Medium | Default; simplest topology |
| External private DNS forwarder (VMs only) + external DC IPs in ANF AD connection | Yes (ANF bypasses forwarder) | Yes, if reverse ruleset on forwarder. | Medium | Enterprise with existing DNS infrastructure |
| External DNS forwarder in ANF AD connection (incorrect) | No — DDNS silently dropped | N/A — config is wrong | High | Not supported |
| Azure DNS Private Resolver in ANF AD connection (incorrect) | No — DDNS not accepted | N/A — config is wrong | High | Not supported |
Azure Virtual WAN considerations
When ANF is deployed in a spoke VNET connected to an Azure Virtual WAN hub, a routing requirement applies that directly causes Kerberos and LDAP failures — which appear to be DNS or AD failures — when not addressed. This is one of the most common misdiagnoses in ANF deployments using Virtual WAN with NVA inspection.
ANF subnet prefix must be in Routing Intent additional prefixes
Azure Virtual WAN with Routing Intent routes private traffic through an NVA or Azure Firewall in the hub. For return traffic from external AD domain controllers to reach the ANF data plane IP, the hub must have an explicit routing entry for the ANF delegated subnet prefix. If the ANF delegated subnet is a /26 inside a larger VNET (/21 or /16), the broader VNET prefix alone is not sufficient — the specific /26 must be added explicitly.
Action Required:
In Azure Virtual WAN: Hub -> Routing -> Routing Intent -> Private Traffic -> Additional Prefixes. Add the ANF delegated subnet prefix (for example, 10.x.x.0/26) explicitly. Without this, Kerberos and LDAP reply traffic from external domain controllers is dropped before reaching the ANF data plane. The symptom is TCP port 88 connects succeeding followed by KRB5_KDC_UNREACH — which looks like a Kerberos or DNS problem but is a routing problem.
Use availability zone switching to surface detailed error messages
When ANF volume creation fails with the generic 'context deadline exceeded' error from the XMLrequest_filer endpoint, the error does not identify root cause. Redeploying the volume to a different availability zone (AZ1 to AZ2, or AZ2 to AZ3) forces a different backend assignment and consistently produces a more descriptive error that distinguishes routing failures (KRB5_KDC_UNREACH) from Kerberos authentication failures, DNS lookup failures, and LDAP errors.
TIP:
If the detailed error shows 'Successfully connected to ip <DC-IP>, port 88 using TCP' followed by 'Cannot contact any KDC for requested realm', the outbound path works but reply packets are dropped — this is a routing problem, not a DNS or Kerberos problem. Check vWAN Routing Intent, NVA firewall rules, and UDRs for the ANF subnet prefix. This diagnostic technique is not documented in ANF troubleshooting guidance.
Required DNS records
The following records must exist in the AD DNS zone served by the external DC DNS servers and must be resolvable from the ANF delegated subnet. Records marked * are not created automatically by AD DNS and must be added manually.
Forward lookup zone
| Record | Type | Notes |
_ldap._tcp.dc._msdcs.<domain>
|
SRV |
Domain-wide DC discovery |
_kerberos._tcp.dc._msdcs.<domain> |
SRV |
Domain-wide KDC discovery |
_ldap._tcp.<site>._sites.dc._msdcs.<domain> |
SRV |
Site-scoped — preferred when AD site is specified in ANF |
_kerberos._tcp.<site>._sites.dc._msdcs.<domain> |
SRV |
Site-scoped Kerberos |
_kerberos-master._tcp.<domain> * |
SRV |
NOT auto-created by AD DNS — must be added manually |
_kerberos-master._udp.<domain> * |
SRV |
NOT auto-created by AD DNS — must be added manually |
<dc-hostname> |
A |
Forward A record for each external DC in the AD site |
<anf-smb-hostname> |
A |
Registered by ANF via DDNS — must not be scavenged or blocked |
Reverse lookup zone (<reverse-octets>.in-addr.arpa)
|
Record |
Type |
Notes |
|
PTR for each external DC IP |
PTR |
Required for dual-protocol, NFSv4.1 Kerberos, LDAP-over-TLS, and NTFS ACL operations |
|
PTR for each ANF volume IP * |
PTR |
Required for NFSv4.1 Kerberos reverse-lookup clients — create manually or via DDNS if supported |
How ANF internally fails when reverse DNS is missing
When the reverse DNS ruleset is absent from the external private DNS forwarder, the failure does not surface as a DNS error in the ANF portal. Instead, it propagates through ANF's internal security daemon (secd) and presents as a generic InternalServerError or a Kerberos authentication failure. Understanding the internal failure chain explains why reverse DNS is non-negotiable and why the symptom is so misleading.
The secd service list mechanism
ANF uses an internal process called secd (Security Daemon) to manage all Active Directory communication — Kerberos ticket exchange, LDAP binds, and DC discovery. secd maintains a service list of discovered DCs. When a DC communication attempt fails for any reason, secd marks that DC as UNUSABLE and records a forgive time after which it will retry. If all DCs in the service list are simultaneously marked UNUSABLE, secd returns RESULT_ERROR_SECD_NO_SERVER_AVAILABLE, which propagates to the portal as InternalServerError.
The reverse PTR lookup inside secd
A critical and undocumented behavior: before secd completes a SASL/GSSAPI bind to an LDAP server, it performs a reverse PTR lookup of the DC's IP address. This lookup is used to validate the DC identity as part of Kerberos mutual authentication. If the PTR lookup fails — because the external private DNS forwarder has no reverse ruleset for the DC IP range — secd logs the failure and marks that DC UNUSABLE immediately, even though TCP connectivity on ports 88 and 389 succeeded.
The following is the exact failure sequence from ANF backend logs when reverse DNS is absent:
Stage 1 — TCP connects succeed, PTR lookup fails
Successfully connected to ip 10.x.x.60, port 389 using TCP
Entry for host-address: 10.x.x.60 not found in the current source: FILES
Source: DNS unavailable. Entry for host-address: 10.x.x.60 not found in any of the available sources
secd successfully opens the TCP connection to the DC on port 389 (LDAP), then immediately attempts a reverse lookup of that IP. The forwarder has no reverse ruleset, so DNS returns NXDOMAIN. secd logs 'DNS unavailable' and proceeds to mark the DC UNUSABLE.
Stage 2 — GSSAPI bind fails as a consequence
Unable to SASL bind to LDAP server using GSSAPI: Local error
Unable to connect to LDAP (Active Directory) service on dc01.ad.contoso.com (Error: Local error)
Because the PTR lookup failed, secd cannot complete the GSSAPI mutual authentication context. The 'Local error' is not a Kerberos configuration problem — it is the direct result of the identity validation step failing due to missing reverse DNS.
Stage 3 — All DCs marked UNUSABLE
10.x.x.27 UNUSABLE Wed Apr 8 00:19:24 2026
10.x.x.28 UNUSABLE Wed Apr 8 00:19:24 2026
10.x.x.29 UNUSABLE Wed Apr 8 00:19:25 2026
10.x.x.30 UNUSABLE Wed Apr 8 00:19:25 2026
... (all DCs in the service list)
secd cycles through every DC in the discovered service list. Each DC fails the same PTR lookup. Each is marked UNUSABLE. Once the list is exhausted:
Stage 4 — Service list exhausted, error propagates
No servers in the service list which aren't marked bad
Unable to select any server in the current serviceList
RESULT_ERROR_SECD_NO_SERVER_AVAILABLE:6940
No servers available for MS_LDAP_AD, domain: ad.contoso.com
This internal error code propagates up through the ANF volume creation stack and is presented to the operator as the generic 'context deadline exceeded (Client.Timeout exceeded while awaiting headers)' error in the portal. The actual cause — missing PTR records — is completely obscured.
Stage 5 — Kerberos pre-auth error (secondary, misleading)
Received error from KDC: -1765328359 / Additional pre-authentication required
This Kerberos error code (KRB5KDC_ERR_PREAUTH_REQUIRED) appears in logs and can mislead investigation toward Kerberos configuration, encryption type mismatches, or clock skew. It is a downstream consequence of the failed PTR-based GSSAPI context — not a root cause. Chasing this error without first verifying reverse DNS is a common and time-consuming dead end.
KEY INSIGHT:
The complete failure chain is: missing reverse PTR ruleset on DNS forwarder → secd PTR lookup returns DNS unavailable → GSSAPI mutual auth cannot complete → DC marked UNUSABLE → all DCs exhausted → InternalServerError at portal. TCP connectivity on ports 88 and 389 succeeds at every stage. Only the PTR lookup fails. This is why all standard connectivity tests pass and the issue remains invisible until reverse DNS is specifically tested.
Why this failure is invisible to standard troubleshooting ?
Standard ANF DNS troubleshooting checks forward SRV records, forward A record resolution, and TCP port connectivity to DCs. All of these pass when only the reverse ruleset is missing. The secd PTR lookup is an internal step that occurs after TCP connectivity is confirmed and is not tested by any of the standard nslookup or Test-NetConnection commands used during initial validation. The only reliable way to surface this failure without access to backend logs is to explicitly test reverse PTR resolution from the ANF VNET — as documented in the verification section below.
Verify DNS configuration
Run the following commands from a test VM in the same VNET as the ANF delegated subnet. Use the external private DNS forwarder IP for client-side tests and an external DC IP for ANF-side tests.
Forward SRV lookup — site-scoped
nslookup -type=SRV _ldap._tcp.<SITE>._sites.dc._msdcs.<domain> <forwarder-IP>
nslookup -type=SRV _kerberos._tcp.<SITE>._sites.dc._msdcs.<domain> <forwarder-IP>
Forward SRV lookup — domain-wide
nslookup -type=SRV _ldap._tcp.dc._msdcs.<domain> <forwarder-IP>
nslookup -type=SRV _kerberos._tcp.dc._msdcs.<domain> <forwarder-IP>
Reverse PTR lookup — use the external forwarder IP
nslookup <external-DC-IP> <forwarder-IP>
Expected output:
Server: <forwarder-IP>
<reverse-arpa> name = dc01.ad.contoso.com.
If reverse lookup returns NXDOMAIN or times out while forward lookup succeeds, add the reverse DNS ruleset to the external private DNS forwarder. This is the most common cause of NTFS permission failures after a volume is successfully created.
Port connectivity from ANF VNET
Test-NetConnection -ComputerName <external-DC-IP> -Port 88 # Kerberos
Test-NetConnection -ComputerName <external-DC-IP> -Port 389 # LDAP
Test-NetConnection -ComputerName <forwarder-IP> -Port 53 # DNS
Common issues and resolutions
| Symptom | Likely cause | Resolution |
InternalServerError: context deadline exceeded (XMLrequest_filer) |
Generic ANF backend timeout — routing or Kerberos root cause not visible at this level |
Switch deployment availability zone for a detailed error. Check vWAN Routing Intent for ANF /26 prefix. |
KRB5_KDC_UNREACH — TCP port 88 connects succeed but auth fails |
Return traffic from external DCs dropped before reaching ANF NIC — routing issue, not DNS |
Add ANF subnet /26 to vWAN Hub Routing Intent > Additional Prefixes > Private Traffic |
'Cannot determine whether the computer is joined to a domain' — NTFS permissions |
Reverse DNS (PTR) lookup failing on external forwarder for DC IPs |
Add reverse lookup ruleset to external private DNS forwarder: <reverse-zone>.in-addr.arpa. > external DC IPs |
DDNS fails — SMB hostname not in DNS after volume creation |
ANF AD connection DNS IPs point to external forwarder — GSS-TSIG not supported by forwarder |
Set AD connection DNS IPs to writable Microsoft AD-integrated external DC IPs directly |
'Failed to validate LDAP configuration' during dual-protocol creation |
Missing PTR records for external DCs, or reverse zone unreachable |
Add PTR records for all external DCs. Verify reverse ruleset is present on the forwarder. |
NFSv4.1 Kerberos: 'Cannot determine realm for numeric host address' |
Missing PTR for ANF volume IP or external DC IPs |
Add PTR records for ANF volume IPs and all external DC IPs in the reverse zone. |
SMB hostname resolves on-premises but not from Azure VMs |
External private DNS forwarder missing forward ruleset for AD zone, or targeting wrong DC IPs |
Verify forward ruleset is present and targeting reachable writable external DC IPs. |
Volume creation fails after external DC IP change |
External DNS forwarder (especially BIND) caching stale DC IPs — default TTL up to 7 days |
Flush forwarder cache. Set short TTLs on DC A records. Consider Microsoft AD-integrated DNS for AD zones. |
Summary of key requirements:
- ANF AD connection DNS IPs must point to writable Microsoft AD-integrated DNS servers (external DC IPs) — not the external private DNS forwarder, not Azure DNS Private Resolver, not 168.63.129.16.
- The external private DNS forwarder must have both a forward ruleset (AD domain > external DC IPs) and a reverse ruleset (in-addr.arpa. zone for DC IP ranges > external DC IPs). The reverse ruleset is required for NTFS ACL operations on SMB shares and is not mentioned in ANF documentation.
- 168.63.129.16 is the upstream forwarder target on the external DNS forwarder — not a target in the ANF AD connection. It is unreachable from on-premises and is not AD-aware.
- External private DNS forwarders (Infoblox, BIND, Unbound) do not support GSS-TSIG. Placing a forwarder IP in the ANF AD connection causes silent DDNS failure with no portal error.
- In Virtual WAN deployments, add the ANF delegated subnet /26 to the hub Routing Intent under Additional Prefixes for Private Traffic. The broader VNET prefix alone is not sufficient.
- NFSv3 volume creation success does not indicate SMB readiness — NFSv3 uses the IP directly and bypasses AD, Kerberos, and reverse DNS.
- _kerberos-master SRV records are not created automatically by AD DNS and must be added manually.
- DNS scavenging should be disabled on zones containing ANF records, or records pre-created as static entries, as ANF does not aggressively refresh DDNS registrations.
- When volume creation fails with a generic 'context deadline exceeded' error, switch the deployment availability zone before deep troubleshooting to surface a more descriptive error.
Related documentation:
- Understand Domain Name Systems in Azure NetApp Files
- Guidelines for Azure NetApp Files network planning
- Configure Virtual WAN for Azure NetApp Files
- Create and manage Active Directory connections for Azure NetApp Files
- Create and manage reverse DNS zones in Azure Private DNS
- Understand guidelines for Active Directory Domain Services site design and planning
- How to configure Virtual WAN Hub routing policies
- What is IP address 168.63.129.16?
Published May 07, 2026
Version 1.0mkachare
Microsoft
Joined April 27, 2026
Azure Architecture Blog
Follow this blog board to get notified when there's new activity