Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.

Adding an NXDOMAIN Rule

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

  • No labels