Commvault Hyperscale X – How to change DNS servers
If you are managing **Commvault Hyperscale X**, the reference architecture runs on **Rocky Linux 8.10**. This guide will walk you through changing DNS servers on your system. In our environment, we use the **bond1** interface for **CommServeRegistration/management**.
1. Edit the network interface configuration
Open the configuration for the bonded interface `bond1`:
- vi /etc/sysconfig/network-scripts/ifcfg-bond1
Locate or add the lines with your DNS servers:
- DNS1=10.210.1.101
- DNS2=10.210.1.103
Save the file and exit the editor.
2. Modify the `/etc/resolv.conf` file – first, unlock the file to allow changes:
- chattr -i /etc/resolv.conf
Open the file for editing:
- vi /etc/resolv.conf
Add or update the lines with your DNS servers:
- nameserver 10.210.1.101
- nameserver 10.210.1.103
Save and lock the file again:
- chattr +i /etc/resolv.conf
3. Restart NetworkManager
To apply the changes, restart the network manager:
- systemctl restart NetworkManager
4. Verify functionality
Check the contents of `/etc/resolv.conf`:
- cat /etc/resolv.conf
Verify that the DNS servers are working:
- nslookup server01.example.local
With these steps completed, your bonded interface `bond1` will now use the new DNS servers for **CommServeRegistration/management** on the **Hyperscale X reference architecture running on Rocky Linux 8.10**.