What is the purpose of the “domains” parameter in the 'vserver services name-service dns create command'?
Applies to
- ONTAP 9
- DNS
Answer
- The
-domainsparameter is a required field when configuring DNS using thevserver services name-service dns createcommand. - This parameter specifies the search domains used for DNS name resolution.
- When a hostname (not fully qualified) is queried, ONTAP appends the configured domain(s) to construct the fully qualified domain name (FQDN) and performs the lookup.
-
While the
-domainsparameter does not need to strictly match the domain managed by the configured name servers, it is generally recommended to align them to ensure efficient and predictable DNS resolution.
Additional Information
additionalInformation_text
