Connect Nextdns to Definable AI
NextDNS is a DNS service that enhances internet security and privacy by blocking malicious websites, tracking scripts, and ads before they reach your device.
About Nextdns
Nextdns is a productivity tool. Connect it to Definable AI with one-click OAuth2 — no API keys or custom code required.
What you can automate with Nextdns
Use Definable AI's agent platform to trigger workflows from Nextdns, process results with 50+ AI models, and sync data across 900+ connected apps.
Tools & Actions (92 available)
- Add Allowlist Entry: Tool to add a domain to the allowlist of a NextDNS profile. Use when allowing specific domains under a profile after obtaining its ID.
- Add Blocked TLD: Tool to add a top-level domain to the security blocklist for a NextDNS profile. Use after listing current security settings to ensure the TLD is not already blocked.
- Add DNS Rewrite Rule: Tool to add a DNS rewrite rule to a NextDNS profile. Use when you need to configure custom DNS resolution for specific domains.
- Add Denylist Domain: Tool to add a domain to the denylist of a NextDNS profile. Use when blocking specific domains under a profile after obtaining its ID.
- Add Parental Control Category: Tool to add a content category to the parental control categories list. Use when you need to add a new category to block or allow specific content types like pornography, gambling, or social networks.
- Add Parental Control Service: Tool to add a service to the parental control services list of a NextDNS profile. Use when blocking specific services (like social media platforms) under a profile.
- Add Privacy Blocklist: Tool to add a blocklist to the privacy blocklists for a NextDNS profile. Use when enabling additional privacy blocklists for a profile.
- Add Privacy Native Tracker: Tool to add a native tracking service to the blocked list for a NextDNS profile. Use when blocking native trackers from specific vendors.
- Clear Logs: Tool to clear DNS logs for a NextDNS profile. Use when you want to remove all existing query logs for a given profile. Note: this operation cannot be undone.
- Create Profile: This tool allows users to create a new NextDNS profile. It uses the POST method at the endpoint https://api.nextdns.io/profiles. A profile is a distinct configuration set for DNS filtering and security settings.
- Delete Allowlist Entry: Tool to remove a domain from a NextDNS profile's allowlist. Use when you need to stop allowing a previously whitelisted domain.
- Delete DNS Rewrite Rule: Tool to delete a DNS rewrite rule from a NextDNS profile. Use when you need to remove an existing DNS rewrite rule by its ID.
- Delete NextDNS Configuration: Tool to delete a NextDNS configuration profile. Use when you need to remove an existing profile by its ID. Use after confirming the profile exists.
- Delete Parental Control Category: Tool to remove a category from parental control blocked categories. Use when you need to unblock a content category that was previously blocked. Use 'Get Parental Control Categories' first to verify the category is currently blocked.
- Delete Parental Control Service: Tool to remove a service from parental control blocked services. Use when you need to unblock a service (like TikTok, Instagram, or other apps) that was previously blocked.
- Delete Privacy Blocklist: Tool to remove a blocklist from the privacy blocklists for a NextDNS profile. Use when disabling or removing privacy blocklists from a profile.
- Delete Privacy Native Tracker: Tool to remove a native tracking entry from a NextDNS profile's privacy settings. Use when you need to stop blocking a specific native app tracker (like Apple, Samsung, Huawei, etc.).
- Download Logs: Retrieves the download URL for exported DNS query logs from a NextDNS profile. Returns a time-limited URL pointing to a CSV file containing the profile's DNS logs. Use this to export log data for analysis, backup, or compliance purposes. The profile_id can be obtained from the list_configurations action.
- Get Allowlist: Tool to retrieve the list of allowed domains for a NextDNS profile. Use when you need to view all domains currently whitelisted in a profile.
- Get Analytics Blocking Reasons: Tool to retrieve blocking reasons analytics showing blocklists, native tracking protection, and other reasons for blocked queries. Use after selecting a profile to understand what categories are blocking queries.
- Get Analytics DNSSEC: Tool to retrieve DNSSEC validation analytics for a profile showing validated vs non-validated query counts. Use after selecting a profile to analyze DNSSEC validation statistics.
- Get Analytics Destinations: Tool to retrieve destination analytics for a profile showing query destinations by country or GAFAM company. Use when you need to understand geographic distribution or big tech company query patterns.
- Get Analytics Devices: Tool to retrieve analytics aggregated by devices. Use when you need per-device query metrics within a specific time frame.
- Get Analytics Devices: Tool to retrieve device analytics for a profile showing identified devices with names, models, and query counts. Use when you need per-device query metrics within a specific time frame.
- Get Analytics Domains: Tool to retrieve analytics data for domains within a specific profile. Use after confirming the profile ID to get per-domain query stats.
- Get Analytics Encryption: Tool to retrieve encryption analytics for a profile showing encrypted vs unencrypted query counts. Use when you need to understand the breakdown of DNS queries by encryption status (DoH/DoT vs plain DNS).
- Get Analytics IP Versions: Tool to retrieve analytics grouped by IP version within a specific profile. Use after you have a profile ID to see IPv4 vs IPv6 query counts.
- Get Analytics IPs: Tool to retrieve analytics aggregated by client IP addresses. Use when you need to analyze DNS query distribution per client IP for a given profile.
- Get Analytics Protocols: Tool to retrieve protocol analytics for a specific profile showing DNS protocol distribution (DNS-over-HTTPS, DNS-over-TLS, UDP). Use after confirming the profile ID to analyze protocol usage patterns.
- Get Analytics Query Types: Tool to retrieve DNS query counts broken down by query type. Use after selecting a profile and specifying date filters to analyze distribution by type.
- Get Analytics Reasons: Tool to retrieve DNS query counts broken down by classification reason. Use after selecting a profile and specifying date filters to analyze reason distribution.
- Get Analytics Status: Tool to retrieve analytics status for a specific profile. Use when you need counts of DNS queries broken down by status categories.
- Get Block Page Settings: Tool to retrieve the block page settings for a NextDNS profile. Use when you need to check if the block page is currently enabled or disabled for a specific profile.
- Get DNS Rewrites: Tool to retrieve the list of DNS rewrites for a NextDNS profile. Use when you need to view all custom DNS rewrite rules configured in a profile.
- Get Logging Settings: Tool to retrieve the logging settings for a NextDNS profile. Use when you need to check logging status, data retention period, storage location, or privacy options.
- Get Logs: Tool to retrieve logs for a specific NextDNS profile with optional filters. Use after confirming the profile ID to fetch raw or filtered DNS logs.
- Get Monthly Queries: Tool to get the number of DNS queries made in the current month for a profile. Use after selecting a profile.
- Get Parental Control Categories: Tool to get the list of blocked/allowed content categories for parental control. Use when you need to check which content categories are currently blocked or allowed for a specific profile.
- Get Parental Control Services: Tool to get the list of blocked/allowed services for parental control. Use when you need to review which services (like TikTok, Facebook, Netflix) are currently blocked or allowed in a profile's parental control settings.
- Get Parental Control Settings: Tool to get parental control settings for a profile. Returns services, categories, safe search, YouTube restricted mode, and bypass blocking status.
- Get Performance Settings: Tool to get performance settings for a profile including ECS, cache boost, and CNAME flattening configuration. Use when you need to check current performance optimization settings before making changes.
- Get Privacy Blocklists: Tool to retrieve the list of enabled privacy blocklists for a NextDNS profile. Use when you need to check which blocklists are currently active.
- Get Privacy Native Trackers: Retrieves the list of blocked native tracking services for a NextDNS profile. Use when you need to view which native app trackers (like Apple, Samsung, Huawei, etc.) are currently blocked for a specific profile.
- Get Privacy Settings: Tool to get privacy settings for a profile including blocklists, native tracking settings, disguised trackers, and affiliate settings. Use when you need to check the current privacy configuration before making changes.
- Get Profile Details: Retrieves the details of a specific NextDNS profile. It requires a 'profileId' as a path parameter and returns the profile details including name, security, privacy, parental control, denylist, allowlist, and general settings.
- Get Profile Settings: Tool to get all settings for a NextDNS profile including logs, block page, performance, and web3 settings. Use when you need to retrieve the current configuration settings of a profile.
- Get Security TLDs: Tool to get the list of blocked TLDs (top-level domains) for a profile's security settings. Use when you need to retrieve only the blocked TLDs without fetching all security settings.
- Get Setup Info: Tool to get setup information for a provided configuration (profile). Use after obtaining a profile ID to fetch its current settings.
- List Configurations: List all NextDNS configurations (profiles) associated with the authenticated account. Returns all profiles with their IDs, names, fingerprints, and user roles. Profile IDs returned by this action are used as the 'profile_id' or 'config_id' parameter for other NextDNS actions (e.g., get settings, update profile, etc.).
- List Denylist Domains: Tool to list domains in the denylist for a profile. Use after confirming the profile ID to review all blocked domains. Example: "List denylist domains for profile abc123."
- List Profiles: List all NextDNS profiles for the authenticated user, returning profile IDs and configurations. Returns all profiles with their IDs, names, fingerprints, and user roles. Profile IDs returned by this action are used as the 'profileId' or 'config_id' parameter for other NextDNS actions (e.g., get profile details, update profile, etc.).
- List Security Settings: Tool to list current security options for a NextDNS configuration. Use after obtaining the configuration ID to review active security settings.
- List Settings: Tool to list settings for a NextDNS profile. Use when auditing or inspecting all enabled settings before applying changes.
- Log Client IPs: Tool to enable or disable logging of client IPs for a NextDNS configuration. Use when you need to toggle whether client IPs are recorded in DNS logs.
- NextDNS Login: Tool to authenticate to the NextDNS API. Use when you have an API key and need to verify credentials and obtain session headers and cookies for subsequent requests.
- Remove Blocked TLD: Tool to remove a top-level domain from the security blocklist for a NextDNS profile. Use after listing current security settings to confirm the TLD is currently blocked.
- Remove Denylist Domain: Removes a domain from a NextDNS profile's denylist (blocklist). The domain will no longer be blocked by the DNS filter after removal. Use 'List Denylist Domains' first to verify the domain exists in the denylist before attempting removal.
- Rename Configuration: Tool to rename a NextDNS configuration (profile). Use when you need to update a profile's name after obtaining its ID. Example: RenameConfig(name="Home Profile", config_id="d46a5b")
- Replace Allowlist: Tool to replace the entire allowlist for a NextDNS profile. Use when you need to set a complete list of allowed domains, replacing all existing entries.
- Replace Denylist: Tool to replace the entire denylist (blocked domains) for a NextDNS profile. This operation completely replaces all existing denylist entries with the provided list. Use when you need to bulk update the denylist or clear all blocked domains. To add/remove individual domains, use NEXTDNS_ADD_DENYLIST_DOMAIN or NEXTDNS_REMOVE_DENYLIST_DOMAIN instead.
- Replace Parental Control Categories: Tool to replace the entire list of blocked/allowed content categories for parental control. Use this to set which content categories should be blocked or allowed for a profile.
- Replace Parental Control Services: Tool to replace the entire list of blocked/allowed services for parental control. Use when you need to set all service restrictions at once, replacing existing settings.
- Replace Privacy Blocklists: Tool to replace the entire list of privacy blocklists for a NextDNS profile. This operation completely replaces all existing blocklists with the provided list. Use when you need to bulk update privacy blocklists or clear all blocklists.
- Replace Privacy Native Tracking Services: Tool to replace the entire list of blocked native tracking services for a NextDNS profile. This operation completely replaces all existing native tracking service blocks with the provided list. Use when you need to bulk update blocked native trackers or clear all blocks.
- Replace Security TLDs: Tool to replace the entire list of blocked TLDs (top-level domains) for a NextDNS profile's security settings. This operation completely replaces all existing blocked TLDs with the provided list. Use when you need to bulk update blocked TLDs or clear all TLD blocks. To add/remove individual TLDs, use NEXTDNS_ADD_BLOCKED_TLD or NEXTDNS_REMOVE_BLOCKED_TLD instead.
- Set AI Threat Detection: Tool to enable or disable AI Threat Detection for a NextDNS configuration. Use after listing security settings to toggle the AI detection flag.
- Set CSAM Blocking: Tool to enable or disable blocking of child sexual abuse material domains for a NextDNS profile. Use when updating security settings after obtaining the profile ID.
- Set DNS Rebinding Protection: Tool to enable or disable DNS rebinding protection for a NextDNS configuration. Use when toggling DNS rebinding protection after reviewing current security settings.
- Set Homograph Protection: Tool to enable or disable homograph attack protection for a NextDNS configuration. Use when toggling IDN homograph filtering after listing security settings.
- Set Newly Registered Domains: Tool to enable or disable blocking of newly registered domains for a NextDNS profile. Use when updating security settings after obtaining the profile ID.
- Set Safe Browsing: Tool to enable or disable Google Safe Browsing for a NextDNS configuration. Use when toggling malware and phishing protection after reviewing current security settings.
- Toggle Block Page: Enable or disable the block page for a NextDNS configuration. When enabled, users attempting to access blocked domains see a branded page explaining the block. When disabled, blocked domains return NXDOMAIN silently. Use this to customize the user experience when domains are blocked by your DNS filtering rules.
- Toggle Cryptojacking Protection: Tool to enable or disable cryptojacking protection for a NextDNS configuration. Use when toggling unauthorized crypto mining protection after listing security settings.
- Toggle DGA Protection: Tool to enable or disable DGA (domain generation algorithm) protection for a NextDNS configuration. Use when toggling algorithm-generated domains protection after listing security settings.
- Toggle Domain Logging: Tool to enable or disable logging of domains for a NextDNS profile. Use after retrieving profile settings when you need to adjust domain logging. Example: "Enable domain logging for profile abc123."
- Toggle Parked Domains Blocking: Tool to enable or disable blocking of parked domains for a NextDNS configuration. Use when toggling parked domain blocking after listing security settings.
- Toggle Threat Intelligence Feeds: Tool to enable or disable Real-Time Threat Intelligence Feeds for a NextDNS configuration. Use after listing security settings to toggle the threatIntelligenceFeeds flag.
- Toggle Typosquatting Protection: Tool to enable or disable typosquatting protection for a NextDNS configuration. Use after listing security settings to toggle the typosquatting flag.
- Update Allowlist Entry: Tool to update a specific allowlist entry in a NextDNS profile. Use when toggling the active status of a domain in the allowlist.
- Update Block Page Settings: Tool to update block page settings for a NextDNS profile. Use when you need to enable or disable the branded block page that users see when accessing blocked domains.
- Update Denylist Entry: Updates a specific denylist entry in a NextDNS profile, typically to toggle its active status. Use when you need to temporarily enable or disable blocking for a domain without removing it from the denylist.
- Update Logging Settings: Tool to update logging settings for a profile including enabled status, data retention, and privacy options. Use when you need to configure log retention period, storage location, or privacy settings for DNS query logs.
- Update Parental Control Category: Tool to update a specific category entry in parental control settings. Use when you need to enable or disable blocking for a specific content category like pornography, gambling, or social networks.
- Update Parental Control Service: Tool to update a specific service entry in parental control settings. Use when toggling individual service blocks (e.g., blocking TikTok, Instagram, or other social media/gaming services).
- Update Parental Control Settings: Tool to update parental control settings for a NextDNS profile. Use when you need to change safe search, YouTube restricted mode, or bypass blocking settings.
- Update Performance Settings: Tool to update performance settings of a NextDNS profile. Use when adjusting performance optimizations after reviewing current settings.
- Update Privacy Settings: Tool to update privacy settings for a profile. Use when you need to change blocklists, native trackers, disguisedTrackers, or allowAffiliate in one call.
- Update Profile: Update an existing NextDNS profile's settings. Supports partial updates - only the fields you provide will be modified, other settings remain unchanged. Common use cases: - Rename a profile: {"profile": "abc123", "name": "New Name"} - Enable security features: {"profile": "abc123", "security": {"googleSafeBrowsing": true}} - Block domains: {"profile": "abc123", "denylist": [{"id": "malware.com", "active": true}]} - Configure parental controls: {"profile": "abc123", "parentalControl": {"safeSearch": true}} Note: Use NEXTDNS_LIST_CONFIGURATIONS to get available profile IDs, and NEXTDNS_GET_PROFILE to view current settings before updating.
- Update Security Settings: Tool to update security settings for a profile. Use when you need to change multiple security settings like threat intelligence, AI detection, safe browsing, and other protections in one call.
- Update Settings: Tool to update settings for a NextDNS profile including logs, block page, performance, and web3 settings. Use when you need to modify multiple settings categories in one operation. Only provide the specific settings you want to change - all fields are optional except profile ID.
- Update Web3 Settings: Tool to update Web3 settings for a NextDNS profile. Use when enabling or disabling decentralized domain resolution for .eth and .crypto domains.
- Update linked IP: Updates the linked IP address for a NextDNS profile to the current caller's public IP. This is used for dynamic DNS setups where the profile needs to recognize the user's current IP address for DNS filtering to work properly.
How to connect Nextdns
- Sign in to Definable AI and go to Apps
- Search for Nextdns and click Connect
- Authorize via OAuth2 — takes under 30 seconds
- Use Nextdns actions in your AI agents and workflows