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

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

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