Skip to main content
Nextdns logo

Nextdns

NextDNS is a DNS service that enhances internet security and privacy by blocking malicious websites, tracking scripts, and ads before they reach your device.

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect

Nextdns authenticates with an API key. Generate the credential in your Nextdns account, then paste it into FlyMyAI the first time an agent uses a Nextdns action.

Get your Nextdns credential →

Fields to fill in FlyMyAI

FieldDetails
NextDNS API KeyYour NextDNS API key, found at the bottom of your account page. (required)

Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
NEXTDNS_ADD_BLOCKED_TLDTool 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.config, tld
NEXTDNS_ADD_DENYLIST_DOMAINTool to add a domain to the denylist of a nextdns profile. use when blocking specific domains under a profile after obtaining its id.config, domain
NEXTDNS_BLOCK_PAGETool to enable or disable block page for a configuration. use when you need to toggle whether dns blocks show a block page.config_id, enabled
NEXTDNS_CLEAR_LOGSTool 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.profile_id
NEXTDNS_CREATE_PROFILEThis 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.name
NEXTDNS_DELETE_CONFIGTool to delete a nextdns configuration profile. use when you need to remove an existing profile by its id. use after confirming the profile exists.profile
NEXTDNS_DOWNLOAD_LOGSTool to download dns logs for a profile. use when you need the url of the exported logs. use after confirming the profile id is valid. supports getting a redirect url or json.profile_id
NEXTDNS_GET_ANALYTICS_DEVICESTool to retrieve analytics aggregated by devices. use when you need per-device query metrics within a specific time frame.profile
NEXTDNS_GET_ANALYTICS_DOMAINSTool to retrieve analytics data for domains within a specific profile. use after confirming the profile id to get per-domain query stats.profile
NEXTDNS_GET_ANALYTICS_IPSTool to retrieve analytics aggregated by client ip addresses. use when you need to analyze dns query distribution per client ip for a given profile.profile
NEXTDNS_GET_ANALYTICS_IP_VERSIONSTool 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.profile
NEXTDNS_GET_ANALYTICS_QUERY_TYPESTool to retrieve dns query counts broken down by query type. use after selecting a profile and specifying date filters to analyze distribution by type.profile
NEXTDNS_GET_ANALYTICS_REASONSTool to retrieve dns query counts broken down by classification reason. use after selecting a profile and specifying date filters to analyze reason distribution.profile
NEXTDNS_GET_ANALYTICS_STATUSTool to retrieve analytics status for a specific profile. use when you need counts of dns queries broken down by status categories.profile
NEXTDNS_GET_LOGSTool to retrieve logs for a specific nextdns profile with optional filters. use after confirming the profile id to fetch raw or filtered dns logs.profile
NEXTDNS_GET_PROFILERetrieves 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.profileId
NEXTDNS_GET_SETUP_INFOTool to get setup information for a provided configuration (profile). use after obtaining a profile id to fetch its current settings.profile
NEXTDNS_LIST_CONFIGURATIONSTool to list all configurations (profiles) available on the nextdns account. use after authenticating to page through profiles.-
NEXTDNS_LIST_DENYLIST_DOMAINSTool 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."profile
NEXTDNS_LIST_SECURITY_SETTINGSTool to list current security options for a nextdns configuration. use after obtaining the configuration id to review active security settings.config
NEXTDNS_LIST_SETTINGSTool to list settings for a nextdns profile. use when auditing or inspecting all enabled settings before applying changes.profile_id
NEXTDNS_LOGINTool 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.api_key
NEXTDNS_LOG_CLIENT_IPSTool 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.config_id, enable
NEXTDNS_LOG_DOMAINSTool 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."profile_id, enabled
NEXTDNS_MONTHLY_QUERIESTool to get the number of dns queries made in the current month for a profile. use after selecting a profile.profile
NEXTDNS_REMOVE_BLOCKED_TLDTool 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.config, tld
NEXTDNS_REMOVE_DENYLIST_DOMAINTool to remove a domain from a profile's denylist. use after confirming the domain is currently denied to clean it up.profile, domain
NEXTDNS_RENAME_CONFIGTool 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")config_id, name
NEXTDNS_SET_AI_DETECTIONTool to enable or disable ai threat detection for a nextdns configuration. use after listing security settings to toggle the ai detection flag.config, enabled
NEXTDNS_SET_CRYPTOJACKINGTool to enable or disable cryptojacking protection for a nextdns configuration. use when toggling unauthorized crypto mining protection after listing security settings.config, enabled
NEXTDNS_SET_CSAMTool 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.config, csam
NEXTDNS_SET_DGATool to enable or disable dga (domain generation algorithm) protection for a nextdns configuration. use when toggling algorithm-generated domains protection after listing security settings.config, enabled
NEXTDNS_SET_DNS_REBINDINGTool to enable or disable dns rebinding protection for a nextdns configuration. use when toggling dns rebinding protection after reviewing current security settings.config, enabled
NEXTDNS_SET_HOMOGRAPHTool to enable or disable homograph attack protection for a nextdns configuration. use when toggling idn homograph filtering after listing security settings.config, enabled
NEXTDNS_SET_NEW_DOMAINSTool to enable or disable blocking of newly registered domains for a nextdns profile. use when updating security settings after obtaining the profile id.config, nrd
NEXTDNS_SET_PARKEDTool to enable or disable blocking of parked domains for a nextdns configuration. use when toggling parked domain blocking after listing security settings.config, enabled
NEXTDNS_SET_SAFE_BROWSINGTool to enable or disable google safe browsing for a nextdns configuration. use when toggling malware and phishing protection after reviewing current security settings.config, enabled
NEXTDNS_SET_THREAT_INTELLIGENCE_FEEDSTool to enable or disable real-time threat intelligence feeds for a nextdns configuration. use after listing security settings to toggle the threatintelligencefeeds flag.config, enabled
NEXTDNS_SET_TYPOSQUATTINGTool to enable or disable typosquatting protection for a nextdns configuration. use after listing security settings to toggle the typosquatting flag.config, enabled
NEXTDNS_UPDATE_LINKED_IPTool to update the linked ip for a nextdns profile. use after retrieving the profile setup to apply the current ip to the profile.config_id
NEXTDNS_UPDATE_PERFORMANCE_SETTINGSTool to update performance settings of a nextdns profile. use when adjusting performance optimizations after reviewing current settings.config, ecs, cacheBoost, cnameFlattening
NEXTDNS_UPDATE_PRIVACY_SETTINGSTool to update privacy settings for a profile. use when you need to change blocklists, native trackers, disguisedtrackers, or allowaffiliate in one call.config
NEXTDNS_UPDATE_PROFILETool to update an existing profile. use after retrieving a profile's current settings to apply changes.profile
We love our partners - FlyMy.AI builds with the best. Thanks, Nextdns!