The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

set network dns

Prev Next

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 ]