Solved

Name Resolution Solaris 2.5

Posted on 1998-03-03
1
276 Views
Last Modified: 2013-12-23
I have a Solaris machine which is connected to the internet. I do not run DNS, but my ISP provides 2 name servers. During the boot process I can see a default route being added so that is there and I can ping machines using their IP addresses, but I cannot reolve any names.

In Irix, there is a file /etc/resolv.conf which contains (on my machines):

hostresorder local bind
domain foo.bar.com
nameserver x.x.x.x
nameserver y.y.y.y

I have tried creating similar files on the Solaris machine, but it doesn't work.

If I run nslookup, it even knows to look at the nameservers - why can't any applications find them!

What else is missing? This should be easy for you Sun admins!
0
Comment
Question by:cpranderia
1 Comment
 
LVL 5

Accepted Solution

by:
n0thing earned 20 total points
ID: 1583168
Hi,

  Edit /etc/nsswitch.conf in the hosts part add:

hosts: files dns

  Save it, it should work. Keep your resolv.conf as it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now