Rule Management

In Rule Management, you are to set "rules" for the response that should be returned according to the monitoring result.

Rule List

You can display a list of rules defined in the current contract. Although you can define up to 10 rules for each traffic control contract, you can actually apply only one of them.

Click "Add" to add a new rule. Click a rule name being displayed to edit the rule.

Edit Settings

A rule is defined by combining "Methods."

Operation Method

The screen is divided into two sides (right and left). The order of applying methods is displayed by a tree format on the left side. Selecting a method (rule, site) on the left side of the screen changes the color of the method to a dark color. You can conduct operations with respect to the method on the right side of the screen. Operations you can conduct vary depending on the method you select.

ItemDescription
Update Rule

You can edit the rule name and comment.

You can carry out editing only when a rule is selected.

Change Application Rules

You can change the rule to be applied to the one which is being operated.

You can change rules only when a rule is selected.

Delete Rule

You can delete the rule you are operating.
Rules which are currently applied cannot be deleted.

You can delete a rule only when a rule is selected.

Add Method

You can add a method to be processed after the method (rule) being selected.

A method can be added only when a rule, entry method, and condition method are selected.

Update Method

You can change the Enabled/Disabled status of the method and make settings, including the priority of the method that follows the failover method.

You can perform these operations only when a method is selected.

Delete Method

You can delete a method.
When a child method is registered under that method, you cannot delete the method. In such a case, delete the child method first.

You can perform this operation only when a method is selected.

[ Reference ]

Even if you select a site, you cannot conduct operations with respect to the site. Conduct operations with respect to a site in "Site Management."

Method Types

各Concrete processes to be executed in each rule are called methods. There are three method types: entry methods, condition methods, and finalizer methods. Each of these method types further has some method types.

Each method has two statuses: Live Status and Ready Status. Refer to the table shown below for conditions of Live Status. Ready Status becomes the same as Live Status when the method is enabled and always becomes "Down" when the method is disabled. On the left side of the screen, while methods whose Ready Status is "Up" are shown in a green frame, those whose Ready Status is "Down" are shown in a red frame. Also refer to "Traffic Control Status."

MethodDescription

Entry Methods

An entry method processes DNS inquiry and is always defined at the beginning of a rule.

MethodDescription
entry_aA method called when the inquiry type is A record. It can be combined with entry_aaaa.
entry_aaaaA method called when the inquiry type is AAAA record. It can be combined with entry_a.
entry_cnameA method called when the inquiry type is CNAME record. This method is always used solely.

When Ready Status of a follow-up method is "Up," Live Status of the entry method becomes "Up." Otherwise, it becomes "Down."

Condition Methods

A condition method branches a process.

MethodDescription
failover

Takes over the process to the method whose Ready Status is "Up" and which has the highest priority, among all the follow-up methods.

  • Up to four methods can be registered.
  • A value from 0 to 255 can be specified as the priority. You cannot register multiple methods that have the same priority.
  • The method that has the biggest number has the highest priority (note that this priority is different from that of MX and SRV records).

When Ready Status of even one of the follow-up methods is "Up," Live Status of the failover method becomes "Up." Otherwise, it becomes "Down."

Finalizer Methods

A finalizer method returns a DNS response and is always defined at the end of a rule. exit_site is used under normal conditions.

MethodDescription
exit_site

A method that specifies a "Site" that responds.

Set a site in "Site Management." The record type of the site to be specified must be the same as that of the entry method to which this method belongs. The site set by this method is automatically displayed on the left side of the screen.

When Live Status of the registered site is "Up," Live Status of the exit_site method also becomes "Up." Otherwise, it becomes "Down."

exit_sorry

This method is used to display the "Sorry Page" (web page that notifies you that you cannot access the relevant host) provided by IIJ.

The restrictions shown below apply to the sorry page. If you accept the restrictions and wish to use the sorry page, prepare a web server for the sorry page by yourself and register it with exit_site at the lowest priority level.

  • Access can be supported only with HTTP (you cannot use the sorry page with HTTPS).
  • The sorry page is shared by all customers who use traffic control and therefore its display contents cannot be customized for each customer.

Live Status of exit_sorry is always "Up."