rladmin suffix
Manages the DNS suffixes in the cluster.
Manages the DNS suffixes in the cluster.
suffix add
Adds a DNS suffix to the cluster.
rladmin suffix add name <name>
[default]
[internal]
[mdns]
[use_aaaa_ns]
[slaves <ip>..]
Parameters
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
Returns Added suffixes successfully
if the suffix was added. Otherwise, it returns an error.
Example
$ rladmin suffix add name new.rediscluster.local
Added suffixes successfully
suffix delete
Deletes an existing DNS suffix from the cluster.
rladmin suffix delete name <name>
Parameters
Parameter | Type/Value | Description |
---|---|---|
name | string | DNS suffix to delete from the cluster |
Returns
Returns Suffix deleted successfully
if the suffix was deleted. Otherwise, it returns an error.
Example
$ rladmin suffix delete name new.rediscluster.local
Suffix deleted successfully
suffix list
Lists the DNS suffixes in the cluster.
rladmin suffix list
Parameters
None
Returns
Returns a list of the DNS suffixes.
Example
$ rladmin suffix list
List of all suffixes:
cluster.local
new.rediscluster.local