# exo dns add SRV
### Description

Add an "SRV" record to specify the location of servers for a specific service.

```
exo dns add SRV DOMAIN-NAME|ID [flags]
```

### Options

| Option | Description |
|---------|------------|
|`--help, -h` | help for SRV |
|`--name, -n` | Leave this blank to create a record for DOMAIN, You may use the &#39;*&#39; wildcard here. |
|`--port, -P` | The &#39;TCP&#39; or &#39;UDP&#39; port on which the service is found. |
|`--priority` | Priority |
|`--protocol, -p` | This will usually be &#39;TCP&#39; or &#39;UDP&#39;. |
|`--symbolic-name, -s` | This will be a symbolic name for the service, like &#39;sip&#39;. It might also be called Service at other DNS providers. |
|`--target` | The canonical hostname of the machine providing the service. |
|`--ttl, -t` | The time in seconds to live (refresh rate) of the record. |
|`--weight, -w` | A relative weight for &#39;SRV&#39; records with the same priority. |


### Options inherited from parent commands

| Option | Description |
|---------|------------|
|`--config, -C` | Specify an alternate config file [env EXOSCALE_CONFIG] |
|`--output-format, -O` | Output format (table\|json\|text), see &#34;exo output --help&#34; for more information |
|`--output-template` | Template to use if output format is &#34;text&#34; |
|`--quiet, -Q` | Quiet mode (disable non-essential command output) |
|`--timeout` | Per-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT] |
|`--use-account, -A` | Account to use in config file [env EXOSCALE_ACCOUNT] |


### Related Commands

* [add]({{< ref "../add">}})	 - Add record to domain


