The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with IBM 550 and HMC settings System Shock UNIX for Dummies Questions & Answers 0 06-26-2007 09:05 AM
Password settings Mr Pink UNIX for Advanced & Expert Users 4 12-06-2006 06:03 AM
LAN settings nickk Linux 1 02-11-2006 08:36 AM
Duplex Settings saabir SUN Solaris 3 01-09-2004 06:44 AM
Display settings TAT2ME74 UNIX for Dummies Questions & Answers 2 08-06-2001 04:47 PM

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 12-07-2005
bad-ash bad-ash is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 7
DNS settings

Hi all,
I'm trying to figure out how DNS settings can be made effective after changing the resolv.conf file. I don't want to shut down and restart, so I'm looking for a possible process that I can stop and start. However, I'm not having any luck finding information to do so. Does anyone know if this can be done, and how? And on a side note, I'm changing the time servers in the ntp.conf file as well, and as far as I can tell, I'll only need to stop and start the xntpd service. Does this sound right?


Thanks for any help
  #2 (permalink)  
Old 12-07-2005
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
you don't have to reboot to activate dns resolving, make sure your /etc/resolv.conf is ok:
nameserver xx.xx.xx.xx
and set you nsswitch.conf to use the dns:
.
..
hosts files dns
..
.

now it should work...

gP
  #3 (permalink)  
Old 12-08-2005
bad-ash bad-ash is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 7
I was hoping a reboot wouldn't be necessary.

Thanks a ton for the help!!
  #4 (permalink)  
Old 12-29-2005
makke_the_muss makke_the_muss is offline
Registered User
  
 

Join Date: Jun 2004
Posts: 8
You can simply just restart the network you do not have to restart the hole box. /usr/bin/ifconfig hme0 stop|start or /etc/rc2.d/netsomething restart
  #5 (permalink)  
Old 12-29-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,242
As Pressy said a you need only change the configuration files for dns lookup changes. No restart of anything or reboot is needed.
  #6 (permalink)  
Old 12-29-2005
networkfre@k networkfre@k is offline
Registered User
  
 

Join Date: Aug 2004
Location: standing in a Sun 25k, Vienna
Posts: 78
to find hosts in your domain faster, you can add a line
"search mydomain.com" to the /etc/resolv.conf file (I think the line must be on top of the file...)

greets
  #7 (permalink)  
Old 09-30-2008
admin@solaris admin@solaris is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 13
Try this: -

kill -HUP named
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 12:23 PM.


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