Forward/Reverse Hostname Resolution for Oracle Install


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Forward/Reverse Hostname Resolution for Oracle Install
# 1  
Old 09-11-2008
Forward/Reverse Hostname Resolution for Oracle Install

I've got an old v880 running Sol10 that is going to another location. When the system moves, the domainname in resolv.conf will change also. My DBA's are going through the steps of installing Oracle on the box and they want the install program to resolve the hostname is if the box were already in place in the new domain. Unfortunately, the destination DNS servers are unreachable (long story, don't ask) from the current location. I have tried disabling the client and server DNS services and changed nsswitch.conf to "files" resolution. The resolv.conf file has the new domain name in it and nothing else (no "nameserver" or "search" lines).

Forward and reverse nslookup (and dig) times out with errors.

My question is this: Is there a way to spoof the box into resolving its name and ip address without configuring a local DNS server on the same system?


Thanks in Advance!

Tony
# 2  
Old 09-11-2008
Edit /etc/hosts (/etc/inet/hosts):
192.168.1.1 hostname hostname.newdomain.name

Some versions of Sol10 DO NOT have /etc/inet/ipnodes linked to /etc/inet/hosts.
If this is the case, you'll need to update ipnodes as well

Ensure that /etc/hostname.interface has the correct hostname as well

Update nsswitch.conf to ensure that files are being checked - don't include DNS in this list
# 3  
Old 09-11-2008
Solved!

So installing a DNS server was easier than I thought and I should have done some more STFW'ing before I posted.

I followed the instructions I found on the link below with changes for my environment.

Thanks to avronius for responding quickly!

I followed these instructions for setting up a very simple DNS server:

BigAdmin - Submitted Tech Tip: DNS Configuration in the Solaris Operating System
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Linux

Issues with desktop resolution on Oracle Linux 6.7

Hi All, I have recently installed Oracle Linux 6.7 server on Virtual box 5.1. The installation went smooth and i was able to create a VM on Windows 7 as host.The issue is that the default desktop that i see is not at the default resolution and i am only able to see half of the screen. ... (0 Replies)
Discussion started by: dev.devil.1983
0 Replies

2. IP Networking

DNS and hostname resolution

I've always been confused by technical discussions of DNS. They say that DNS is used to match a domain name with the IP address of a host on the Internet. The thing that confuses me is this premise that there is an exact, one-to-one correspondence between Internet domain names and hosts on the... (4 Replies)
Discussion started by: Ultrix
4 Replies

3. UNIX for Dummies Questions & Answers

DNS forward and reverse entry required thorugh scripting instead of manually done

HI GUrus, I am very mcuh new for this forum ....i need you all guys help for resolving my queries. As i have DNS server , platform is sunsolaris----8. We are using that serevr for resolving all network nodes. I am going to explain the process what i am following .... I could have... (2 Replies)
Discussion started by: leenagoyal
2 Replies

4. Shell Programming and Scripting

How to convert forward zone file to reverse

I have forward dns zone file with A records and converting it to reverse zone file ex. subdomain1 A 10.20.30.40 subdomain2 A 10.20.31.41 subdomain3 A 10.20.35.43 subdomain4 A 10.20.30.41 subdomain5 ... (5 Replies)
Discussion started by: mosavani
5 Replies

5. HP-UX

Oracle 9i install: Error in invoking target install of makefile

I receive an error while installing Oracle 9i: Error in invoking target install of makefile /opt/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk Furthermore: $ whoami oracle $ echo $ORACLE_HOME /opt/oracle/product/9.2.0 $ pwd /opt/oracle/product/9.2.0/sqlplus/lib $ ll total... (5 Replies)
Discussion started by: chris2005
5 Replies
Login or Register to Ask a Question