Create a DNS service
A DNS service is a representation, on the NetScaler appliance, of a physical DNS server in the network. A DNS load balancing virtual server sends DNS requests to the DNS server in the network through such a service.
Create a DNS service by using the CLI
At the command line, type the following commands to create a DNS service and verify the configuration :
- add service <name> <IP> <serviceType> <port>
- show service [<name>]
<!--NeedCopy-->
Example:
add service Service-DNS-1 10.102.29.41 DNS 53
show service Service-DNS-1
Service-DNS-1 (10.102.29.41:53) - DNS
State: DOWN
Last state change was at Fri Jul 2 10:14:32 2010
Time since last state change: 0 days, 00:00:13.550
Server Name: 10.102.29.41
Server ID : 0 Monitor Threshold : 0
Max Conn: 0 Max Req: 0 Max Bandwidth: 0 kbits
Use Source IP: NO
Client Keepalive(CKA): NO
Access Down Service: NO
TCP Buffering(TCPB): NO
HTTP Compression(CMP): NO
Idle timeout: Client: 120 sec Server: 120 sec
Client IP: DISABLED
Cacheable: NO
SC: OFF
SP: OFF
Down state flush: ENABLED
1) Monitor Name: ping-default
State: DOWN Weight: 1
Probes: 3 Failed [Total: 3 Current: 3]
Last response: Failure - Probe timed out.
Response Time: 2000.0 millisec
Done
<!--NeedCopy-->
Add a DNS service by using the GUI
-
Navigate to Traffic Management > Load Balancing > Services.
-
In the details pane, click Add.
-
In the Create Service dialog box, specify values for the following parameters as shown:
- Service Name*—name
- Server*—IP
- Port*—port
*A required parameter
-
In the Protocol* drop down list, select a supported protocol (for example, DNS).
-
Click Create, and then click Close.