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

ParameterType/ValueDescription
namestringDNS suffix to add to the cluster
defaultSets the given suffix as the default. If a default already exists, this overwrites it.
internalForces the given suffix to use private IPs
mdnsActivates multicast DNS support for the given suffix
slaveslist of IPv4 addressesThe given suffix will notify the frontend DNS servers when a change in the frontend DNS has occurred
use_aaaa_nsActivates 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

ParameterType/ValueDescription
namestringDNS 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