You are here

1. Oracle VM Name Resolution

1. Oracle VM Name Resolution

Applicable to all Oracle VM 3.x Releases. 
The Oracle VM Server(s) must have consistent name resolution using DNS with both forward and reverse lookups.
 
First, open the “/etc/resolv.conf” file by typing “vi /etc/resolv.conf” and confirm that the domain name or names, and two DNS servers are listed. The next example shows one domain name and two DNS servers listed in a resolv.conf file.

# vi /etc/resolv.conf
search <DOMAIN NAME>
nameserver <MY DNS SERVER1 IP ADDRESS>
nameserver <MY DNS SERVER2 IP ADDRESS>

From each Oracle VM server ping each DNS server listed in the resolv.conf file to ensure network connectivity.
 
Next, validate the forward lookups for each Oracle VM Server and the Oracle VM Manager host using the “getent hosts” command. For example, to validate server2's forward lookup from server1 type “getent hosts server2” as shown in the next example.

# getent hosts server2
server2 has address 192.168.4.6

Note: Using only hosts files without DNS is not advised and may produce unpredictable results.
 

Download PDF Now!