profile_settings
Update a NextDNS profile's general settings—name, query logs, block page, performance, Web3—while changing only supplied fields and allowing undo.
Instructions
Change a profile's general settings: its name, query logs (on or off, how long, where, what to leave out), the block page, performance (ECS, cache boost, CNAME flattening) and Web3 domains. Use profile(section='settings') to see them first; protections are in security, privacy and parental_control. Changes only the inputs given and records it, so undo can put it back; an unknown retention or location is refused. Returns the settings after the change, or says nothing changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecs | No | true or false: send EDNS Client Subnet, for faster CDNs. Leave empty to keep it as it is. | |
| logs | No | true or false: keep a query log. Leave empty to keep it as it is. | |
| web3 | No | true or false: resolve Web3 domains like .eth. Leave empty to keep it as it is. | |
| rename | No | A new name for the profile. | |
| profile | No | The profile's ID or name. Leave empty for the only profile, or the default one. | |
| block_page | No | true or false: show a block page instead of failing. Leave empty to keep it as it is. | |
| cache_boost | No | true or false: keep answers cached longer. Leave empty to keep it as it is. | |
| drop_domains | No | true or false: leave domains out of the logs. Leave empty to keep it as it is. | |
| log_location | No | Where logs are stored: us, eu, gb or ch. | |
| log_retention | No | How long logs are kept: 1 hour, 6 hours, 1 day, 1 week, 1 month, 3 months, 6 months, 1 year or 2 years. | |
| drop_client_ips | No | true or false: leave client IP addresses out of the logs. Leave empty to keep it as it is. | |
| cname_flattening | No | true or false: answer with the final address. Leave empty to keep it as it is. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |