AvantGuard - DNSFilter icon

AvantGuard - DNSFilter

AvantGuard - DNSFilter

Actions277

Overview

This node allows users to create new policies in the AvantGuard DNSFilter system. Policies define rules for domain whitelisting, blacklisting, category blocking, and application allow/block lists. It is useful for network administrators or security teams who want to programmatically manage DNS filtering policies to control internet access and enforce security compliance.

Typical use cases include:

  • Automatically creating policies that whitelist or blacklist specific domains.
  • Blocking categories of websites (e.g., adult content, gambling).
  • Allowing or blocking certain applications by name.
  • Appending new domains to existing allow/block lists without overwriting them.

Properties

Name Meaning
Policy JSON object defining the policy parameters including:
- whitelist_domains
- blacklist_domains
- blacklist_categories
- allow_applications
- block_applications
Additional Body Fields Optional additional fields to customize the request:
- Include Relationships: boolean, whether to include related entities in the response (default true)
- Append Domains: boolean, whether to append domains to existing lists instead of replacing (default false)

Output

The node outputs the JSON response from the API after creating the policy. This typically includes details of the newly created policy such as its ID, configured domains, categories, and applications. The output is structured as a JSON object representing the policy resource with all its attributes and optionally included relationships if requested.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with the AvantGuard DNSFilter API.
  • The node uses the base URL https://api.dnsfilter.com for requests.
  • The user must configure the API key credential in n8n before using this node.

Troubleshooting

  • Invalid JSON in Policy: If the "Policy" JSON input is malformed, the API will reject the request. Ensure valid JSON syntax.
  • Authentication Errors: Missing or invalid API key will cause authentication failures. Verify the API key credential is correctly set up.
  • Permission Denied: The API key may lack permissions to create policies. Check API key scopes.
  • Appending Domains Misuse: Setting "Append Domains" incorrectly might overwrite existing lists unintentionally. Use carefully.
  • API Rate Limits: Frequent calls may hit rate limits; handle errors accordingly.

Links and References

Discussion