Configuring DNS settings
The Domain Name System (DNS) service resolves names to IP addresses. You can configure Access Appliance to use DNS to look up domain names and IP addresses. You enable the DNS service for the cluster, then specify up to three DNS servers.
DNS names can contain only alphabetical characters (A-Z), numeric characters (0-9), the minus sign (-) , and the period (.). Period characters are allowed only when they are used to delimit the components of domain style names.
The following characters are not supported : comma (,), tilde (~), colon (:), exclamation point (!), at sign (@), number sign (#), dollar sign ($), percent (%) , caret (^), ampersand (&), apostrophe ('), period (.), parentheses (), braces {}, underscore (_), white space (blank). Please refer to the DNS nomenclature in your environment for more details.
If you change the DNS domain name using the Access Appliance command-line interface while the NFS server is running, the NFS server continues to use the old domain name for ID mapping. You are required to restart the NFS server for the change in the domain name to takes effect.
To display DNS settings
- To display DNS settings, enter the following:
Network> dns show
To enable DNS service
- To enable Access Appliance hosts to do DNS lookups, enter the following commands:
Network> dns enable
You can verify using the dns show command.
To disable DNS settings
- To disable DNS settings, enter the following:
Network> dns disable
You can verify using the dns show command.
To specify the IP addresses of the DNS name servers
- To specify the IP addresses of the DNS name servers used by the Access Appliance DNS service, enter the following commands:
Network> dns set nameservers nameserver1 [nameserver2] [nameserver3]
You can verify using the dns show command.
To remove the name servers list used by DNS
- To remove the name servers list used by DNS, enter the following commands:
Network> dns clear nameservers
You can verify using the dns show command.
To set the domain name for the DNS server
- To set the domain name for the DNS server, enter the following:
Network> dns set domainname domainname
where domainname is the domain name for the DNS server.
You can verify using the dns show command.
To allow multiple DNS search domains
- To allow multiple DNS search domains, enter the following:
Network> dns set searchdomains searchdomain1[,searchdomain2] [,searchdomain3]
where searchdomain1 is the first DNS search domain to be searched. Specify the search domains in the order in which the search domains should be used.
To configure multiple DNS search domains that have already been entered
- To configure multiple DNS search domains that have already been entered, add the existing domain name with the new domain name as comma-separated entries.
Network> dns set searchdomains domain1.access.com, domain2.access.com.
You can verify using the dns show command.
To remove the domain name used by DNS
- To remove the domain name used by DNS, enter the following:
Network> dns clear domainname
You can verify using the dns show command.