Configuring DNS suffixes
You can configure DNS suffixes that enable the NetScaler appliance to complete non-fully qualified domain names during name resolution. For example, while resolving a not fully qualified domain name abc, if a DNS suffix example.com is configured, the appliance appends the suffix to the domain name. Then it resolves the domain name. In this case, it would resolve abc.example.com. If DNS suffixes are not configured, the appliance appends a period to the non-fully qualified domain names and resolves the domain name.
Create DNS suffixes
DNS suffixes have significance and are valid only when the NetScaler is configured as an end resolver or forwarder. You can specify a suffix of up to 127 characters.
Notes:
-
The order of DNS suffixes is important. The ADC appliance tries the configured suffixes in a serial order and stops when it gets a successful response for a suffix.
-
At a time only one domain name is processed. All the available suffixes are appended with the domain name until a successful response is received. For Example: If the domain name is
wwwand the suffixes areabc.comandabc. The NetScaler appliance trieswww.abc.comfirst and if that does not return a successful response, then the appliance trieswww.abc. Ifwww.abc.comreturns a successful response, then the appliance will not try with the next suffix. -
The appliance uses all the suffixes in the order in which they are added until it receives a successful response.
Create DNS suffixes by using the CLI
At the command prompt, type the following commands to create a DNS suffix and verify the configuration:
- add dns suffix <dnsSuffix>
- show dns suffix <dnsSuffix>
Example:
> add dns suffix example.com
Done
> show dns suffix example.com
1) Suffix: example.com
Done
To remove a DNS suffix by using the NetScaler command line, at the command prompt, type the
rm dns suffix command and the name of the DNS suffix.
Create DNS suffixes by using the GUI
Navigate to Traffic Management > DNS > DNS Suffix and create DNS suffixes.