DNS configuration to use the SCAN with Oracle RAC Database

This article explains how to set up a DNS configuration on Red Hat Enterprise Linux. I will set up a basic configuration for a DNS server and also I will set up a specific configuration for the SCAN (Single Client Access Name) with Oracle RAC Database.


Table of Contents:

  1. Install DNS Server
  2. Configure DNS Server


1. Install DNS Server:

DNS (Domain Name System), also known as a nameserver, is a network system that associates hostnames with their respective IP addresses. For users, this has the advantage that they can refer to machines on the network by names that are usually easier to remember than the numerical network addresses. For system administrators, using the nameserver allows them to change the IP address for a host without ever affecting the name-based queries, or to decide which machines handle these queries. For more information, see this URL.

BIND (Berkeley Internet Name Domain) consists of a set of DNS-related programs. It contains a nameserver called named.

Step 1: Install DNS Server with yum:


Step 2: Install DNS Server with RPM:


2. Configuring the DNS Server:

When the named service is started, it reads the configuration from the file /etc/maned.conf

In this example, I will use the network address


Step 1:  Configure the /etc/named.conf file:


Step 2: Create forward and reverse zone files in the ‘/etc/named.conf’ file.

Step 2.1: Create Forward Zone

Create forward.wadhahdaouehi.tn file in the ‘/var/named’ directory.


Step 2.2: Create Reverse Zone

Create reverse.wadhahdaouehi.tn file in the ‘/var/named’ directory.


Step 3: Test DNS Configuration

Add the DNS server details in ‘/etc/resolv.conf’ file in the client system


Verify with ping:


Step 4: Configuring the DNS Server for the SCAN used with Oracle RAC Database:

Step 4.1: In forward.wadhahdaouehi.tn file, add two lines for two IP address.


Step 4.2: In reverse.wadhahdaouehi.tn file, add two lines for two IP address.


Step 4.3: Test DNS Configuration.




This article provides the basic DNS configuration steps to use the Single Client Access Name (SCAN) with Oracle RAC Database.


Bookmark the permalink.
Loading Facebook Comments ...

Leave a Reply