How to change DNS in SynetoOS 4

Written By Christian Castagna (Administrator)

Updated at January 21st, 2025

Table of Contents

→ Applies to: SynetoOS 4.x

 

Via GUI

Step 1. Login to SynetoOS 4 GUI (replace <your_ip_address_or_hostname> with the correct ip/hostname)

https://<your_ip_address_or_hostname>

 

Step 2. Click the Settings menu in the upper right corner


Step 3. From the dropdown menu click on Basic configuration

 

Step 4. Click on Domain tab

 

Step 5. Edit the DNS and click on Update

 

Via CLI

Step 1. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

Step 2. Remove bash_profile

rm ~admin/.bash_profile

After running the command, you need to perform logout and login again.

 

Step 3. Become Super User

sudo su

 

Step 4. Check the current DNS

config net dns show

EXAMPLE OUTPUT

 

Step 5. Remove the current DNS (replace <ip_address> with the correct information)

config net dns remove <ip_address>

 

Step 6. Set the new DNS (replace <ip_address> with the correct information)

config net dns add <ip_address>