Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Changing DNS Servers in Solaris

Posted on 2004-09-01
3
Medium Priority
?
379 Views
Last Modified: 2013-12-27
What is the process for doing this. I know the entries are held in the /etc/resolv.conf, but is there anything else that needs to be changed and once the change is made, does the server need to restart in order for it to use the new DNS Servers for resolution?
0
Comment
Question by:RevelationCS
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 11955814
You can simply edit that file and the changes will be immediately available to the resolver libs. If nscd is running you may need to flush it's cache if data from a new DNS server would be different from what the old servers would have supplied.
0
 

Expert Comment

by:iavhom
ID: 11958626
Simply restart nscd  daemon.
0
 
LVL 8

Author Comment

by:RevelationCS
ID: 11958920
thanks
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month10 days, 9 hours left to enroll

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question