security
Toggle NextDNS profile protections (threat feeds, AI threat detection, Safe Browsing, cryptojacking, typosquatting, NRD) and block/unblock top-level domains. Changes are saved and reversible.
Instructions
Turn a profile's security protections on or off (threat feeds, AI threat detection, Google Safe Browsing, cryptojacking, typosquatting, newly registered domains and more) and block or unblock whole top-level domains. profile(section='security') shows the switches with their keys and catalog(kind='tlds') the TLD IDs; use privacy for blocklists and list_entries for single domains. Changes the profile and records it, so undo can put it back; unknown keys or TLDs are refused, and ones already set are skipped. Returns what changed and the change ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | The profile's ID or name. Leave empty for the only profile, or the default one. | |
| turn_on | No | Protection keys to switch on, like threatIntelligenceFeeds, aiThreatDetection, googleSafeBrowsing, cryptojacking, typosquatting or nrd. profile with section security lists them all. | |
| turn_off | No | Protection keys to switch off, same names as turn_on. | |
| block_tlds | No | Top-level domains to block entirely, like zip or xyz (from catalog, kind tlds). | |
| unblock_tlds | No | Top-level domains to stop blocking. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |