Solved

Name Resolution Solaris 2.5

Posted on 1998-03-03
1
275 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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.:
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

707 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

16 Experts available now in Live!

Get 1:1 Help Now