DNS Protection Policies & Custom Domains APIs
We're excited to announce the general availability of two new additions to the Sophos DNS Protection API: the Policies API and the Custom Domains Lists API. Together with the existing Locations API, these complete the V2 management surface for DNS Protection.
- The Policies API lets you create, list, update, and delete DNS Protection policies. Policies define how DNS traffic is handled, including category-group actions, rejected web categories, safe search settings (for search engines and YouTube), and the locations a policy applies to.
- The Custom Domains Lists API lets you create, list, update, and delete reusable lists of domains that policies can reference as either allowed or blocked through
allowedCustomDomainIdsandblockedCustomDomainIds.
Both APIs share the same paginated, filterable, and sortable model used by the Locations API, and support partial updates through PATCH with add / remove payloads on set-style fields such as locationIds, allowedCustomDomainIds, blockedCustomDomainIds, rejectedWebCategories, and domains.
Check out the DNS Protection API Guide for end-to-end examples covering Locations, Policies, and Custom Domains Lists. For more information, please refer to our API reference documentation.