ADC

Create SRV records for a service

The SRV record provides information about the services available on the NetScaler appliance. An SRV record contains the following information:

  • Name of the service and the protocol
  • Domain name
  • TTL
  • DNS class
  • Priority of the target
  • Weight of records with the same priority
  • Port of the service
  • Host name of the service.

The NetScaler chooses the SRV record that has the lowest priority setting first. If a service has multiple SRV records with the same priority, clients use the weight field to determine which host to use.

Add an SRV record by using the CLI

At the command prompt, type the following commands to add an SRV record and verify the configuration:

-  add dns srvRec <domain> <target> -priority <positive_integer> -weight <positive_integer> -port <positive_integer> [-TTL <secs>]
-  sh dns srvRec <domain>
<!--NeedCopy-->

Example:

> add dns srvRec _http._tcp.example.com nameserver1.com -priority 1 -weight 1 -port 80
 Done
> show dns srvRec _http._tcp.example.com
1)      Domain Name : _http._tcp.example.com
        Target Host : nameserver1.com
        Priority : 1    Weight : 1
        Port : 80       TTL : 3600 secs
 Done
<!--NeedCopy-->

Modify or remove an SRV record by using the CLI

  • To modify an SRV record, type:
    • The set dns srvRec command
    • The name of the domain for which the SRV record is configured
    • The name of the target host that hosts the associated service
    • The parameters to be changed, with their new values
  • To remove an SRV record, type:
    • The rm dns srvRec command
    • The name of the domain for which the SRV record is configured
    • The name of the target host that hosts the associated service

Configure an SRV record by using the GUI

Navigate to Traffic Management > DNS > Records > SRV Records and create an SRV record.

Create SRV records for a service