static-routes – Static Routes

March 26, 2020 Contributors

**Configuration Change. ** This feature is available as beta in Momentum 3.6.5.

The static_routes module routes all traffic to a given server by IP address and port. It supports both IPv4 and IPv6.

This module performs much better than the Routes configuration option. The Routes option is known to cause performance issues because it makes every domain in the system share connections. When domains share an MX, the system will try to find idle connections in other domain containers. When many domains share an MX, there are a lot of domains searching for idle connections, which slows the system down considerably

static_routes {}

and

static_routes
{
  target = "1.2.3.4:1234"
}