Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Field NameData TypeRequired (Yes/No)Associated GUI FieldAssociated PAPI MethodUsage and Guidelines
Header-nxdomainruleStringYes

Example: NxdomainRule
parentStringYesNamenxdomain_rules

This field indicates the ruleset to which the NXDOMAIN rule belongs. Example: nxdomain-ruleset1

patternStringYesPatternpattern

Use this to match domain names. You cannot use the characters * and ,, in the domain name. Example: foo

_new_patternStringNo

Example: foo-new
actionStringYesActionaction

The valid value is PASS, MODIFY or REDIRECT. Example: PASS

Examples

This section contains examples of how to create data files for NXDOMAIN rules. All examples use comma as the separator. You can use other supported separators, such as semicolon, space, or tab.

...

This example shows how to import an NXDOMAIN rule.

header-nxdomainrule,action*,parent*,pattern* nxdomainrule,REDIRECT,NXD,*foo.com

Overwriting NXDOMAIN Rule Data

This example shows how to overwrite the action of an NXDOMAIN rule.

header-nxdomainrule,action*,parent*,pattern* nxdomainRule,REDIRCT,NXD,*bar.com