--- title: "set dnsprotect" slug: "set-dnsprotect-7" tags: ["Product Usage", "IPS 11.1.x"] updated: 2026-11-19T12:29:52Z published: 2026-11-19T12:29:52Z canonical: "docs.trellix.com/set-dnsprotect-7" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # set dnsprotect This command sets the DNS protection mode. **Syntax** `set dnsprotect <inbound><inbound-outbound><ip-based><off><outbound>` | Parameter | Description | | --- | --- | | | Sets the DNS protection mode to 'inbound' | | | Sets the DNS protection mode to 'inbound-outbound' | | | Sets the DNS protection mode to 'ip-based' | | | Turns off the DNS protection mode | | | Sets the DNS protection mode to 'outbound' | **Applicable to:** NS-series Sensors