content/operate/rs/7.22/references/cli-utilities/rladmin/suffix.md
Manages the DNS suffixes in the cluster.
suffix addAdds a DNS suffix to the cluster.
rladmin suffix add name <name>
[default]
[internal]
[mdns]
[use_aaaa_ns]
[slaves <ip>..]
| Parameter | Type/Value | Description |
|---|---|---|
| name | string | DNS suffix to add to the cluster |
| default | Sets the given suffix as the default. If a default already exists, this overwrites it. | |
| internal | Forces the given suffix to use private IPs | |
| mdns | Activates multicast DNS support for the given suffix | |
| slaves | list of IPv4 addresses | The given suffix will notify the frontend DNS servers when a change in the frontend DNS has occurred |
| use_aaaa_ns | Activates IPv6 address support |
Returns Added suffixes successfully if the suffix was added. Otherwise, it returns an error.
$ rladmin suffix add name new.rediscluster.local
Added suffixes successfully
suffix deleteDeletes an existing DNS suffix from the cluster.
rladmin suffix delete name <name>
| Parameter | Type/Value | Description |
|---|---|---|
| name | string | DNS suffix to delete from the cluster |
Returns Suffix deleted successfully if the suffix was deleted. Otherwise, it returns an error.
$ rladmin suffix delete name new.rediscluster.local
Suffix deleted successfully
suffix listLists the DNS suffixes in the cluster.
rladmin suffix list
None
Returns a list of the DNS suffixes.
$ rladmin suffix list
List of all suffixes:
cluster.local
new.rediscluster.local