This is how to add a DNS Server to Solaris Box…
First of all, Open up your favourite text editor and add the name servers into /etc/resolv.conf
nameserver 192.168.1.1
If you need to add more, just add another one in the next line…
Following the instructions below will walk you through the process…
bash-3.00# ping www.google.com
ping: unknown host www.google.com
bash-3.00# cat /etc/resolv.conf
nameserver 192.168.1.1
bash-3.00# cd /etc/
bash-3.00# cp -p nsswitch.conf nsswitch.conf.org
bash-3.00# cp -p nsswitch.dns nsswitch.conf
bash-3.00# /etc/init.d/nscd stop; /etc/init.d/nscd start
bash-3.00# ping www.google.com
www.google.com is alive
bash-3.00#
As you can see, the Name Server is working!
Popularity: 9% [?]
You Should Also Check Out This Post:
- How Reliable is your Hard Disk?
- CCDE Design Track Certification
- How to add IP Address / Default Gateway on Sun Solaris
- DNS Cache Poisoning Bug
- Logitech MX Air Gyroscopic Cordless Mouse
More Active Posts:
- Make BisonCam work on Windows Vista (92)
- Disabling livecall.exe on Windows Live Messenger (WLM) (13)
- 301 Redirect WordPress Posts To New Domain (11)
- Live Messenger - "Show what I'm listening to" Doesn't work (10)
- Hydrogen Powered Car (7)
- AdobeUpdater.exe CPU Resource Hog (5)
- How to gain ROOT access to a Linux Box within 10 Seconds (3)
- TechForums Update (3)
- How to lock Windows XP when Idle (2)
- Perfect Email System (2)



My name is Nish Vamadevan, I live in London. I’m a Network Systems Administrator, and Freelance IT Consultant. I’d like to think of myself and a creative and a resourceful person when it’s come to Computers and Technology.
I have been working in the freelance IT sector for over 6 years and have done various Network Deployments, System Administration and Building, maintaining, managing websites for Small / Medium companies..
No User Responded In This Article
Leave Your Comment Below