# Uses of Interface
org.apache.storm.networktopography.DNSToSwitchMapping

Packages that use DNSToSwitchMapping
Package
Description
org.apache.storm.networktopography
org.apache.storm.testing

- ## Uses of DNSToSwitchMapping in org.apache.storm.networktopography

  Classes in org.apache.storm.networktopography that implement DNSToSwitchMapping
  Modifier and Type
  Class
  Description
  `class`
  `AbstractDNSToSwitchMapping`
  This is a base class for DNS to Switch mappings.
  `final class`
  `DefaultRackDNSToSwitchMapping`
  This class implements the `DNSToSwitchMapping` interface It returns the DEFAULT_RACK for every host.

- ## Uses of DNSToSwitchMapping in org.apache.storm.testing

  Classes in org.apache.storm.testing that implement DNSToSwitchMapping
  Modifier and Type
  Class
  Description
  `final class`
  `AlternateRackDNSToSwitchMapping`
  This class implements the `DNSToSwitchMapping` interface It alternates bewteen RACK1 and RACK2 for the hosts.