Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.5

emscli system set network domain

emscli system set network domain

command to set dns search domains

Synopsis

system set network domain sets dns search domain for one or all network adapters on the host

emscli system set network domain [flags]

Options

      --adapter string   The name of the ethernet adapter to be configured
      --add string       A comma-separated list (without spaces) of search dns domains to be added to the adapter configuration
      --all              Configures search dns domains to all adapters
      --delete string    A comma-separated list (without spaces) of search dns domains to be removed to the adapter configuration
  -h, --help             help for domain

See also

emscli system set network domain

emscli system set network domain

command to set dns search domains

Synopsis

system set network domain sets dns search domain for one or all network adapters on the host

emscli system set network domain [flags]

Options

      --adapter string   The name of the ethernet adapter to be configured
      --add string       A comma-separated list (without spaces) of search dns domains to be added to the adapter configuration
      --all              Configures search dns domains to all adapters
      --delete string    A comma-separated list (without spaces) of search dns domains to be removed to the adapter configuration
  -h, --help             help for domain

See also