4.11.2 Change the DNS Server on Oracle Exadata Storage Server

You can set or change the DNS server on each Oracle Exadata Storage Server.

  1. Log in to the Oracle Exadata Storage Server as the root user.
  2. Use the ipconf utility to change the DNS settings.
    1. Check to ensure there are no configuration issues with the new settings.

      Use the following command, where IP_addr_list is a comma-separate list of IP addresses for the DNS servers. If you also want to check the DNS servers for ILOM, then include the -ilom-dns parameter and replace ILOM_DNS_list with a comma-separate list of up to 3 IP addresses for the DNS servers. Including the -dry parameter means the settings are checked, but not applied.

      Note:

      If you use host names for the DNS servers instead of IP addresses, then the cellwall service will fail when restarted. Use only IP addresses when defining NTP and DNS servers.
      # ipconf -update -dns IP_addr_list [-ilom-dns ILOM_DNS_list] -dry
    2. Update the DNS settings using the ipconf command:

      In the following command, IP_addr_list is a comma-separate list of IP addresses for the DNS servers. If you also want to change the DNS servers for ILOM, then include the -ilom-dns parameter and replace ILOM_DNS_list with a comma-separate list of up to 3 IP addresses for the DNS servers. Include the -force parameter to force the update, bypassing all checks.

      # ipconf -update -dns IP_addr_list [-ilom-dns ILOM_DNS_list] [-force]

      Here is an example of the command and its output.

      [root@dbm03celadm06]# ipconf -update -dns 10.31.138.25,10.231.225.65
      [Info]: ipconf command line: ipconf -update -dns 10.31.138.25,10.231.225.65
      Logging started to /var/log/cellos/ipconf.log
      [Info]: Updating dns/ntp
      [Info]: Backup existing cell configuration file /opt/oracle.cellos/cell.conf 
      to /var/log/exadatatmp/cell.conf_2020_01_13-17_59_44
      [Info]: Custom changes have been detected in /etc/resolv.conf
      [Info]: Original file /etc/resolv.conf will be saved in /etc/resolv.conf.backupbyExadata
      [Done]: Update cell configuration file /opt/oracle.cellos/cell.conf OK