DNS settings


 
Thread Tools Search this Thread
Operating Systems Solaris DNS settings
# 1  
Old 12-07-2005
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  
Old 12-07-2005
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  
Old 12-08-2005
I was hoping a reboot wouldn't be necessary.

Thanks a ton for the help!!
# 4  
Old 12-29-2005
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  
Old 12-29-2005
As Pressy said a you need only change the configuration files for dns lookup changes. No restart of anything or reboot is needed.
# 6  
Old 12-29-2005
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  
Old 01-06-2006
Thanks everyone for your help. I think I'm on track now.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

2. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

3. Red Hat

DNS A-Record point to another DNS

Hi, I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow: http://img689.imageshack.us/img689/6333/12234.png How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies

4. IP Networking

[Solved] DNS settings with www and without

I'm no DNS expert, and I'm hoping someone would be able to help me with this issue I'm facing. I have a set of links in the following schema: http://somedomain.com/xyz http://somedomain.com/abc http://somedomain.com/123 and they are pointing to content at: ... (1 Reply)
Discussion started by: DeepakS
1 Replies

5. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

6. Solaris

How to obtain DNS Zone transfer settings on Sun OS 5.7

I have an old Sun SparcStation 5 that is running Sun OS 5.7, I'm not sure which commands would allow me to obtain the DNS zone transfer settings? 1.) I'm needing to know if the zone transfers are enabled. 2.) If it is enabled, does it transfer to specific servers 3.) If so, how do I go about... (1 Reply)
Discussion started by: Fhistleb
1 Replies

7. UNIX for Dummies Questions & Answers

Create some settings

Hi, I've installed mysql and apache servers and made it run in my company's production server. Now what I want to be done is for a notification to be sent to my mail when the servers (mysql and apache) are stopped and not running. Please help me on doing this. Tqs. (3 Replies)
Discussion started by: anaigini45
3 Replies

8. Linux

Ip settings

Hi, How to set ip address in linux. Regards, Guguli (1 Reply)
Discussion started by: guguli
1 Replies

9. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

10. Solaris

printer settings

I have created a printer, but I need to change the default pitch (CPI and LPI). According to the lpadmin man page, I have to use the following command to change the pitch lpadmin -p <printername> -o cpi=<decimal value> -o lpi=<decimal value> However, this does not work. I tried it with a... (1 Reply)
Discussion started by: soliberus
1 Replies
Login or Register to Ask a Question