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
Configure DNS jskillet IP Networking 15 08-20-2008 08:34 PM
how to configure VIM ? zedex UNIX for Dummies Questions & Answers 1 12-24-2007 04:47 AM
How to configure NIS in sun 10 rjay.com SUN Solaris 4 12-18-2006 09:37 PM
configure ssh Geraldine UNIX for Advanced & Expert Users 4 03-15-2004 09:07 PM
IP configure Orange UNIX for Dummies Questions & Answers 2 07-26-2001 05:21 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-31-2002
q30 q30 is offline
Registered User
 

Join Date: Feb 2002
Location: China
Posts: 32
How to configure DNS

My OS is sun solaris7,(sun sparc),i want connect inernet and my computer in my company intranet.After i configure proxy server,i still can't conncet internet.I guess whether the DNS is configured correctly.
who can help me???Thank you very much!!!
__________________
QL
Forum Sponsor
  #2  
Old 05-31-2002
annececile's Avatar
Registered User
 

Join Date: Nov 2001
Location: Paris, France
Posts: 42
You can define DNS and search domains in /ect/resolv.conf file.
Do "man resolv.conf" for more info.
  #3  
Old 06-01-2002
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
I do believe that it wouldn't hurt to also make an entry in the /etc/hosts file as well.

Also, in HPUX, there is a file called /etc/rc.config.d/netconf which also has some configuration for you do there as well. For subnetmask config and IP address and Hostname. Of course you have Solaris, so the file name might be different. But, you should still have a file similar to this.

You may also want to check your netstat output for your lan configuration. Try "netstat -in". I believe that is the same on your OS as well.


__________________
My brain is your brain
  #4  
Old 06-02-2002
Registered User
 

Join Date: May 2002
Location: bavaria
Posts: 1
Re: How to configure DNS

Quote:
Originally posted by q30
My OS is sun solaris7,(sun sparc),i want connect inernet and my computer in my company intranet.After i configure proxy server,i still can't conncet internet.I guess whether the DNS is configured correctly.
who can help me???Thank you very much!!!

check out the internal resolver of sunOS env. ( resolve.conf .AND. nsswitch.conf ).

cheers
  #5  
Old 06-02-2002
q30 q30 is offline
Registered User
 

Join Date: Feb 2002
Location: China
Posts: 32
Thank you

Thank you for your help.
I still don't know how to configure the /etc/resolv.conf.Is the file's format the same as the file /etc/defaultrouter?Please help me.In Windows,if the DNS is configured to localhost,it can connect internet.in unix,what is the DNS?the localhost?the proxy server?
Thank you!!!
look forwards to your reply!
__________________
QL
  #6  
Old 06-02-2002
annececile's Avatar
Registered User
 

Join Date: Nov 2001
Location: Paris, France
Posts: 42
Hi,
The DNS is a server which permit you to resolve computers unqualified names to complete names (test -> test.foo.neo.com).
The localhost is your workstation. The proxy server can give you access to internet (I don't know how !!).
The best is you ask to your network or UNIX administrators to tell you if there is a DNS server on your network !!! If yes, this is the config for example:

nameserver "@IP of DNS server"
domain "your own name domain (foo.neo.com)
search "all the domain you want to search (neo.com hello.neo.com .....)

Hope this will help you
  #7  
Old 06-03-2002
q30 q30 is offline
Registered User
 

Join Date: Feb 2002
Location: China
Posts: 32
Thank you

Thank you very much!!!
__________________
QL
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:21 AM.


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