How to use DNS server?

Posted on 1999-06-22
Medium Priority
Last Modified: 2013-12-16
On DEC OSF 4.0E and HPUX 10.20, how do you make use of the DNS server on Solaris 2.5? How do you indicate that you want to make use of the DNS server on Solaris?
Question by:gansl
  • 2

Accepted Solution

bedot earned 100 total points
ID: 1813367
create in /etc a file named resolv.conf contening one or more lines giving the ip addresses of nameservers to use

ie, on HP 10.20 ,  the file /usr/examples/bind/resolv.conf is done for example

root@xxx[/usr/examples/bind]cat resolv.conf

; /etc/resolv.conf file for using
; a server on another host.

in case of two lines with twice name servers, if the fist is alive, is given as name server;
otherwise is the second

beware: named daemon must be running on the describe machine

Author Comment

ID: 1813368
I tried your suggestions above, it works on HPUX, but not on DEC OSF. IS there anything else I need to do to activate it?

Expert Comment

ID: 1813369
check the domain-name exactly (no space anywhere in it, espacially at the end)
hope helpfull


Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

607 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