Client prerequisites for mDNS

Requirements for using the mDNS protocol in development and testing environments.

mDNS is only supported for development and testing environments.

If you choose to use the mDNS protocol when you set the cluster name, make sure that the configurations and prerequisites for resolving database endpoints are met on the client machines. If you have Replica Of databases on the cluster, the configurations and prerequisites are also required for the Redis Enterprise Software nodes.

To prepare a client or node for mDNS:

  1. Make sure that the clients and cluster nodes are on the same physical network or have the network infrastructure configured to allow multicasting between them.

  2. Install these prerequisite packages:

    • For Ubuntu:

      apt-get install libnss-mdns
    • For RHEL/CentOS 6.x:

      $ rpm -ivh
      $ yum install nss-mdns
      $ service avahi-daemon start
    • For RHEL/CentOS 7:

      $ rpm -ivh
      $ yum install nss-mdns
      $ service avahi-daemon start
  3. If you are using mDNS with IPv6 addresses, update the hosts line in /etc/nsswitch.conf to:

    hosts: files mdns4_minimal
    \[NOTFOUND=return\] mdns
Back to top ↑