Add a name server

You can create a name server by specifying its IP address or by configuring an existing virtual server as the name server.

While adding name server, you can provide an IP address or a virtual server IP address. If you add IP address based name servers, the NetScaler appliance load balances requests to the configured name servers in round robin method. If you add a virtual server, you can configure any load balancing method.

To verify the configuration, you can use the sh dns <recordtype> <domain> command. If the queried records are not present in the cache, the resource records are fetched from the configured external name servers.

Add a name server (when the NetScaler appliance acts as a forwarder) by using the CLI

At the command prompt, type;

add dns nameServer ((<IP>) | <dnsVserverName>)

Example:

add dns nameServer 192.0.2.10  

add dns nameServer dnsVirtualNS

Add a name server (when the NetScaler appliance acts as a resolver) by using the CLI

At the command prompt, type:

add dns nameServer ((<IP> [-local]) | <dnsVserverName>)

Example:

add dns nameServer 10.102.9.19 -local

Note:

  • To remove a name server, at the NetScaler CLI, type the rm dns nameServer command followed by the IP address of the name server.
  • To view the details of the DNS nameserver, at the NetScaler CLI, type show dns nameServer command followed by the IP address of the name server.

Add a name server by using the GUI

Navigate to Traffic Management > DNS > Name Servers and create a name server.