--- title: "set network dns" slug: "set-network-dns-2" tags: ["Product Usage", "IPS 11.1.x"] updated: 2026-11-19T12:26:59Z published: 2026-11-19T12:26:59Z canonical: "docs.trellix.com/set-network-dns-2" --- > ## 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 network dns This command enables users to specify IP address of DNS server for the Manager. **Syntax:**`set network dns` `Enter the DNS1 : <DNS1_Server_IP_Address>` `Do you want to set DNS2 ? (y/n): <y/n>` `Enter the DNS2 : <DNS2_Server_IP_Address>` | Parameters | Description | | --- | --- | | `DNS1_Server_IP_Address` | Enter primary DNS server IP address. | | `<y/n>` | Type `y`, if you want to configure secondary DNS server IP address, or else type `n`. | | `DNS2_Server_IP_Address` | (Optional) Enter secondary DNS server IP address. | **Sample Output:** `IPSManager> set network dns` `[sudo] password for admin:` `Enter the DNS1 : 10.1.2.11` `Do you want to enter DNS2 ? (y/n): y` `Enter the DNS2 : 10.2.1.3.` `Restarting network (via systemctl): [ OK ]`