Solaris 10 network configuration problem with zone | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Solaris 10 network configuration problem with zone

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-09-2007
duke0001 duke0001 is offline
Registered User
 
Join Date: Nov 2005
Last Activity: 31 March 2014, 4:56 PM EDT
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
Solaris 10 network configuration problem with zone

I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated.

I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global zone successfully. But Oracle DBconsile couldn't find correct IP address mapping with hostname or qualified hostname.domain. I did some steps to test like this:

1. login box as root user

2. $>hostname, I got correct hostname.domain

3.$>nslookup 190.90.80.20 (IP address), I got
Server: 190.90.90.34
Address: 190.90.90.34 # 35
Server can't find 20.80.90.190 in-addr.arpa: NXDOMAIN
(my box's hostname and IP didn't show up here)

4.$>nslookup hostname, I got
Server: 190.90.90.35
Address: 190.90.90.35 # 35
Server can't find hostname: SERVFAIL

5.$>nslookup hostname.domain.com, I got
Server: 190.90.90.35
Address: 190.90.90.35 # 35
Server can't find hostname.domain.com: NXDOMAIN.

I think this might be caused by network configuration during zone installation. So how could I fix this problem? Please advise me with details.
Sponsored Links
    #2  
Old 10-09-2007
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
 
Join Date: Dec 2003
Last Activity: 13 May 2013, 9:02 AM EDT
Location: Melbourne, Australia
Posts: 2,185
Thanks: 3
Thanked 24 Times in 23 Posts
So you have a PTR record configured in DNS somewhere for this server?

Otherwise nslookup will fail - that's expected.
Sponsored Links
    #3  
Old 10-10-2007
duke0001 duke0001 is offline
Registered User
 
Join Date: Nov 2005
Last Activity: 31 March 2014, 4:56 PM EDT
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
zazzybob:

Thanks for your advice. But I didn't understand 'PTR record configured in DNS'. Could you please give more details or examples?
    #4  
Old 10-10-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
Are your IP address and server name configured in the DNS server you are using?
Sponsored Links
    #5  
Old 10-11-2007
duke0001 duke0001 is offline
Registered User
 
Join Date: Nov 2005
Last Activity: 31 March 2014, 4:56 PM EDT
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
porter:

Frankly speaking, I am not sure. I am going to check. But I did nslookup on Solaris server. The hostname and IP on server couldn't be mapped correctly. I have added server's IP and hostname on the host file at my local machine(my laptop). I can ping server either by IP or hostname successfully. Now problem is on the server. Please comment on it. Thanks.
Sponsored Links
    #6  
Old 10-11-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
On your server have you checked the nsswitch.conf file and made sure it looks in both file and dns?

Solaris - nsswitch.conf (4)
Sponsored Links
    #7  
Old 10-12-2007
duke0001 duke0001 is offline
Registered User
 
Join Date: Nov 2005
Last Activity: 31 March 2014, 4:56 PM EDT
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
Porter:

Thanks for your advice and link. I have checked /etc/nsswitch.conf and /etc/nsswitch.dns files. They all list as: hosts files dns. I may need to enter DNS server IP into /etc/resolv.conf.

Last edited by duke0001; 10-12-2007 at 11:12 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Zone Configuration in Solaris 10 hydoss1 UNIX for Advanced & Expert Users 2 05-10-2012 08:08 AM
Solaris Zone configuration Kjons76 Solaris 3 01-04-2011 03:43 PM
Solaris Network Configuration vipinmurali Solaris 4 06-25-2010 11:28 AM
Network configuration in Solaris 8 Ask Me UNIX for Dummies Questions & Answers 8 02-22-2002 09:23 PM
problem with Solaris in Network configuration premkumar UNIX for Dummies Questions & Answers 4 10-11-2001 02:49 AM



All times are GMT -4. The time now is 04:11 AM.