The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Install Guide: Oracle Database 11 g Release 1 on Oracle Enterprise Linux 5 iBot Oracle Updates (RSS) 0 09-10-2008 11:15 PM
Install Guide: Oracle Database 11g Release 1 on Oracle Enterprise Linux 5 iBot Oracle Updates (RSS) 0 04-06-2008 02:10 AM
Install Oracle RAC 10g on Oracle Enterprise Linux using VMware Server iBot Oracle Updates (RSS) 0 04-06-2008 02:10 AM
reverse proxy add forward 0.6 (Default branch) iBot Software Releases - RSS News 0 01-02-2008 01:50 AM
AIX hostname ( see also TCP/IP name resolution ) progressdll UNIX for Advanced & Expert Users 4 05-07-2002 08:32 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-11-2008
Registered User
 

Join Date: Jun 2008
Location: 0x486F6D65
Posts: 20
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
Reply With Quote
Forum Sponsor
  #2  
Old 09-11-2008
Registered User
 

Join Date: Apr 2008
Location: Calgary
Posts: 196
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
Reply With Quote
  #3  
Old 09-11-2008
Registered User
 

Join Date: Jun 2008
Location: 0x486F6D65
Posts: 20
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0