Create SRV records for a service
-
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.
Add an SRV record by using the CLI
- add dns srvRec <domain> <target> -priority <positive_integer> -weight <positive_integer> -port <positive_integer> [-TTL <secs>]
- sh dns srvRec <domain>
> 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
Modify or remove an SRV record by using the CLI
-
To modify an SRV record, type:
-
The
set dns srvReccommand -
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 srvReccommand -
The name of the domain for which the SRV record is configured
-
The name of the target host that hosts the associated service
-