host

Description

Causes the specified server host (identified by a string or by IP address and optional port number) to be used directly, thus bypassing any load-balancing decision.

Syntax

host <string>
host  <addr> [<port>]

host <string>

  • Select a host by specifying a string identifying the host

host <addr> [<port>]

  • Select a host by specifying an IP address (and port if desired)

Examples

when DNS_REQUEST {
  if { [wideip name] ends_with ".com" } {
     host 10.1.2.200 80
 }
}