The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
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!!!
  #2 (permalink)  
Old 05-31-2002
annececile's Avatar
annececile annececile is offline
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 (permalink)  
Old 06-01-2002
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
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.


  #4 (permalink)  
Old 06-02-2002
badtrap badtrap is offline
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 (permalink)  
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!
  #6 (permalink)  
Old 06-03-2002
annececile's Avatar
annececile annececile is offline
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 (permalink)  
Old 06-03-2002
q30 q30 is offline
Registered User
  
 

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

Thank you very much!!!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:17 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0